IO a = Action Yeilding an a
twice1 :: IO a -> (IO a, IO a)
twice1 c = (c,c)
Result is not an action!
Therefore not performed.
Next call reveals no
side-effects occurred.
Föregående bild
Nästa bild
Tillbaka till första bilden
Visa grafisk version