i have function a->b passed of (c->a->b) signature. don't care c ignore it. there standard function prepends useless parameters: (a->b) -> (c->a->b) ?
it's called const:
> let foo = const :: (a -> b) -> (c -> -> b) i have function a->b passed of (c->a->b) signature. don't care c ignore it. there standard function prepends useless parameters: (a->b) -> (c->a->b) ?
it's called const:
> let foo = const :: (a -> b) -> (c -> -> b)
Comments
Post a Comment