Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
(
--.. ) :: (Expr, Expr) -> () -> Exprcode-conjure Conjure.Engine enumFromThen lifted over Exprs but named as ",.." for pretty printing.
> (zero,ten) --.. () [0,10..] :: [Int]
(
--..- ) :: (Expr, Expr) -> Expr -> Exprcode-conjure Conjure.Engine enumFromThenTo lifted over Exprs but named as ",.." for pretty-printing.
> (zero,two) --..- ten [0,2..10] :: [Int]
-
code-conjure Conjure.Engine Function composition . lifted over Expr.
> absE -.- negateE abs . negate :: Int -> Int
> absE -.- negateE :$ one (abs . negate) 1 :: Int
This works for Int, Bool, Char and their lists. -
code-conjure Conjure.Engine enumFrom lifted over Exprs named as ".." for pretty-printing.
> one -.. () [1..] :: [Int]
Works for Ints, Bools and Chars. (
-..- ) :: Expr -> Expr -> Exprcode-conjure Conjure.Engine enumFromTo lifted over Exprs but named as ".." for pretty-printing.
> zero -..- four [0..4] :: [Int]
(
--.. ) :: (Expr, Expr) -> () -> Exprcode-conjure Conjure.Expr enumFromThen lifted over Exprs but named as ",.." for pretty printing.
> (zero,ten) --.. () [0,10..] :: [Int]
(
--..- ) :: (Expr, Expr) -> Expr -> Exprcode-conjure Conjure.Expr enumFromThenTo lifted over Exprs but named as ",.." for pretty-printing.
> (zero,two) --..- ten [0,2..10] :: [Int]
-
code-conjure Conjure.Expr Function composition . lifted over Expr.
> absE -.- negateE abs . negate :: Int -> Int
> absE -.- negateE :$ one (abs . negate) 1 :: Int
This works for Int, Bool, Char and their lists. -
code-conjure Conjure.Expr enumFrom lifted over Exprs named as ".." for pretty-printing.
> one -.. () [1..] :: [Int]
Works for Ints, Bools and Chars. (
-..- ) :: Expr -> Expr -> Exprcode-conjure Conjure.Expr enumFromTo lifted over Exprs but named as ".." for pretty-printing.
> zero -..- four [0..4] :: [Int]