Comment

Comment by Kiro

Doesn't String -> String -> String mean it takes two arguments in this case though?

> The type annotation for connectWords is telling us that connectWords is a function that accepts two strings and returns a string.

Or maybe I misunderstand this whole thing. I know nothing about Haskell/Elm.

parent Kiro 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton