Is there a standard Haskell function that prepends an extra parameter to a function -


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