Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
goto11
on May 24, 2021
|
parent
|
context
|
favorite
| on:
Monads Schmonads: Functional Input Without Tears (...
This is beside the point. Haskell have a number of built-in unpure operations like putStrLn. You can use the built-in IO type to execute these unpure operations.
If you define your own type called IO you can't use it to execute unpure operations.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
If you define your own type called IO you can't use it to execute unpure operations.