RosettaCodeData/Task/Higher-order-functions/Haskell/higher-order-functions-1.hs
2023-07-01 13:44:08 -04:00

4 lines
90 B
Haskell

func1 f = f "a string"
func2 s = "func2 called with " ++ s
main = putStrLn $ func1 func2