Skip to content

Adopts Golang principles for effective thread communication in Haskell

License

Notifications You must be signed in to change notification settings

hyunsooda/gochan

Repository files navigation

gochan

gochan is a library that offers thread communication methods, drawing significant inspiration from the principles of Golang.

Features

  • Strong typing at compile time
    • Recevable channel (<-chan): Receive opration is only available.
    • Sendable channel (chan<-): Send opration is only available.
    • Bidirectional channel (chan): Both operations are available.

NOTE

I initially applied type-level programming in a somewhat convoluted way. Employing phantom types could offer a more readable and approachable method.

About

Adopts Golang principles for effective thread communication in Haskell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published