Have we tried to use implicit parameters for the handles? #63
jf-travolta
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
|
It would be nice to get something like this working, but it's not a high priority for me personally. There is substantial discussion already at: #32 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Btw, isn't "bluefin with implicit parameters" basically a variant of effectful? Or is there something I'm missing 🤔 I thought the whole point of bluefin is explicit passing of effects. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I tried little bit the library and experiment with implicit parameters, the good thing about implicit parameters are:
I was playing around with this idea and come with something that works:
The main issue here is that I cannot generalise the conversion from explicit to implicit (I am not an expert in type system of haskell). Every time I try to do something like:
then compiler complains
Not sure if that would be possible to solve or is a limitation in Haskell
Beta Was this translation helpful? Give feedback.
All reactions