2014-02-19から1日間の記事一覧

s id id idに型が付かない件について

s id id idに型が付かない. ghci> let s f g h = f h $ g h ghci> :t s id id id <interactive>:1:5: Occurs check: cannot construct the infinite type: a = a -> b Probable cause: `id' is applied to too few arguments In the second argument of `s', namely `id'</interactive>…