Closed stoeffel closed 3 years ago
@micahhahn I've made a little experiment. What do you think?
I like this! It's maybe a little awkward having this as a binary operator ==?
when we only care about one of the sides... perhaps we could use a prefix instead. Something like
>? getAges users
oh, yes I like this!
how about we just make >?
syntactic sugar for ==? ()
. Because I think we need to know the resulting type in order to render it properly. https://hackage.haskell.org/package/hint-0.9.0.4/docs/Language-Haskell-Interpreter.html
Sure, I don't know if it could strictly be syntax sugar for ==? ()
because that would mean >? getAges users
would desugar to ==? () getAges users
right?
Could we just have something in the runtime like the following?
helpTodo :: (Prelude.Show a) => a -> Verified
And then have >? getAges users
desugar to helpTodo $ getAges users
?
The comment above will output: