Implicit Function Arguments
Marc Weber
marco-oweber at gmx.de
Sun Jun 29 19:08:03 EDT 2008
On Sat, Jun 28, 2008 at 01:00:17PM -0400, Brandon S. Allbery KF8NH wrote:
>
> On 2008 Jun 28, at 12:32, Tyson Whitehead wrote:
>
> > What do people think about implicit function argument?
>
> http://www.haskell.org/ghc/docs/latest/html/users_guide/other-type-extensions.html#implicit-parameters
> It uses ? as the prefix instead of ~ (which already has a meaning in pattern
> matching).
The solution I might have tried is using StateT and and some kind of
HList to pass state so that items can be appended and removed easily..
I didn't knew about this features which makes me aware again about how
important it is to not stop learning new features.. I'll have a look at
it now
Marc
More information about the Glasgow-haskell-users
mailing list