Download haskell/test_reclist.hs from Snapkitty/sov-kernel-monster: direct link, hf CLI and curl.
- Browser
- Download file 195 Bytes
-
https://huggingface.co/Snapkitty/sov-kernel-monster/resolve/main/haskell/test_reclist.hs
- Command line
-
hf download hf://Snapkitty/sov-kernel-monster/haskell/test_reclist.hs
-
curl -L -o test_reclist.hs https://huggingface.co/Snapkitty/sov-kernel-monster/resolve/main/haskell/test_reclist.hs
195 Bytes
| module Main where | |
| data Foo = Foo { id :: Int, name :: String } deriving (Show) | |
| test :: Int -> [Foo] | |
| test n = | |
| [ Foo | |
| { id = i | |
| , name = "x" | |
| } | |
| | i <- [0..n-1] | |
| ] | |
| main = return () | |