In some Haskell code I came across:
put :: s -> m ()
What does the () mean here?
()
I\'d use a search engine, but I ca
It's called the "unit type". You can think of it as Haskell's equivalent of void, in some respects. It's a type that has only one value (also ()).
void