sov-kernel-monster / haskell /test_reclist2.hs
SNAPKITTYWEST's picture
chore: push full sov-kernel-monster content from local build
9425aed verified
Raw
History Blame Contribute Delete
201 Bytes
module Main where
data Foo = Foo { fooId :: Int, name :: String } deriving (Show)
test :: Int -> [Foo]
test n =
[ Foo
{ fooId = i
, name = "x"
}
| i <- [0..n-1]
]
main = return ()