{"id":17214766,"url":"https://github.com/dedbox/racket-event","last_synced_at":"2026-02-07T05:02:01.142Z","repository":{"id":57745679,"uuid":"129629969","full_name":"dedbox/racket-event","owner":"dedbox","description":"Event-lang: synchronizable event programming","archived":false,"fork":false,"pushed_at":"2019-07-16T07:33:01.000Z","size":101,"stargazers_count":4,"open_issues_count":10,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-25T08:55:48.717Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Racket","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dedbox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-15T16:40:13.000Z","updated_at":"2020-09-02T05:21:03.000Z","dependencies_parsed_at":"2022-08-27T00:01:58.645Z","dependency_job_id":null,"html_url":"https://github.com/dedbox/racket-event","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dedbox/racket-event","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedbox%2Fracket-event","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedbox%2Fracket-event/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedbox%2Fracket-event/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedbox%2Fracket-event/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dedbox","download_url":"https://codeload.github.com/dedbox/racket-event/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedbox%2Fracket-event/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29186742,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T03:35:06.566Z","status":"ssl_error","status_checked_at":"2026-02-07T03:34:57.604Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T03:05:31.794Z","updated_at":"2026-02-07T05:02:01.121Z","avatar_url":"https://github.com/dedbox.png","language":"Racket","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Event-lang\n**Synchronizable Event Programming**\n[![Racket Package](https://img.shields.io/badge/raco%20pkg-event--lang-red.svg)](https://pkgd.racket-lang.org/pkgn/package/event-lang)\n[![Documentation](https://img.shields.io/badge/read-docs-blue.svg)](http://docs.racket-lang.org/event-lang/)\n[![Build Status](https://travis-ci.org/dedbox/racket-event-lang.svg?branch=master)](https://travis-ci.org/dedbox/racket-event-lang)\n[![Coverage Status](https://coveralls.io/repos/github/dedbox/racket-event-lang/badge.svg?branch=master)](https://coveralls.io/github/dedbox/racket-event-lang?branch=master)\n\nEvent-lang is an experimental Racket library that simplifies the creation of\ncomplex synchronizable events.\n\nEvent-lang provides a primitive expression lifting form,\n\n```\n\u003e (pure 123)\n#\u003cevt\u003e\n```\n\nsome event combinators,\n\n```\n\u003e (sync (fmap + (pure 1) (pure 2)))\n3\n\u003e (sync (app (pure +) (pure 1) (pure 2)))\n3\n\u003e (sync (bind (pure 1) (pure 2) (λ xs (pure (apply + xs)))))\n3\n```\n\nand a collection of event-friendly alternatives to base Racket forms and\nfunctions.\n\n```\n\u003e (sync\n   (event-let\n    ([x (pure 1)]\n     [y (pure 2)])\n    (pure (list x y))))\n'(1 2)\n```\n\nComposite events make progress by synchronizing constituent events, either\nconcurrently or in a predictable sequence. Synchronization results can be\nordered as specified,\n\n```\n\u003e (let ([t0 (current-inexact-milliseconds)])\n    (define (now) (- (current-inexact-milliseconds) t0))\n    (sync\n     (async-args\n      (pure (cons 1 (now)))\n      (pure (cons 2 (now)))\n      (pure (cons 3 (now))))))\n'(1 . 0.200927734375)\n'(2 . 0.14990234375)\n'(3 . 0.178955078125)\n```\n\nor as completed.\n\n```\n\u003e (let ([t0 (current-inexact-milliseconds)])\n    (define (now) (- (current-inexact-milliseconds) t0))\n    (sync\n     (async-set\n      (pure (cons 1 (now)))\n      (pure (cons 2 (now)))\n      (pure (cons 3 (now))))))\n'(2 . 0.0771484375)\n'(3 . 0.093017578125)\n'(1 . 0.123046875)\n```\n\nThe project has three outstanding objectives:\n\n1. _Provide a sophisticated lifting form_ to simplify usage of the provided\n  constructs. The event/event module contains a first approximation. Its\n  construction was tedious and error prone, so I commented out the docs.\n\n2. _Provide a full-blown_ `#lang event/racket/base` for producing whole\n  modules of events and event constructors from ordinary Racket code in a\n  principled manner.\n\n3. _Provide support for static analysis of synchronization behaviors._ Event\n  programming in Racket is a curious form of meta-programming, and a few\n  simple compile-time checks could reduce cognitive overhead.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdedbox%2Fracket-event","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdedbox%2Fracket-event","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdedbox%2Fracket-event/lists"}