needle icon indicating copy to clipboard operation
needle copied to clipboard

Duplication of arrows?

Open as-capabl opened this issue 9 years ago • 0 comments

This result may not be suitable.

Code:

{-# LANGUAGE QuasiQuotes #-}

module Main where

import Control.Arrow.Needle

mainArrow =
  [nd|
    }==={Kleisli putStrLn}=\===>
                           \===>
                           \===>
  |]

main =
  do
    runKleisli mainArrow "aaa"

Result:

aaa
aaa
aaa

as-capabl avatar Jun 21 '15 23:06 as-capabl