File: Monoid.hs

package info (click to toggle)
haskell-bool-extras 0.4.0-10
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 72 kB
  • sloc: haskell: 65; makefile: 4
file content (9 lines) | stat: -rw-r--r-- 113 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
module Monoid where

import Data.Bool.Extras

xsB :: Bool -> [Int]
xsB = mwhen [1..5]

main = print (xsB False)