Advertisement
Guest User

Untitled

a guest
Jan 3rd, 2022
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. module Main where
  2. import Control.Comonad
  3. import Data.List.NonEmpty
  4.  
  5. main :: IO ()
  6. main = print (extend id (1 :| [2,3]))
  7. -- (1 :| [2,3]) :| [(2 :| [3]), (3 :| [])]
  8.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement