Effect CommunityEC
Effect Community8mo ago
2 replies
sign error

Creating a Monad with `@effect/typeclasses` Using `TypeLambda`

Hey there … I just found that @effect/typeclasses is using TypeLambda to declare higher kinded types - I am least concluding this from the import: "effect/HKT"

So, in short: Can I create my own Monad this way? If so, is there any example showing this? In fp-ts this was done using module declarations. Is there a new way now?
Was this page helpful?