Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

    type Function = (->)
    type On f g a b = f (g a) (g b)
    {-# LANGUAGE TypeOperators #-}

    (Function `On` List) a b
<_<


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: