Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 551 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 551 Bytes

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.