是否有可能在 unix shell 脚本中使用 haskell 函数?
例如:
#!/bin/bash
...
var1=value
...
# use haskell function with input from shell variable var1
# and store the result into another shell variable var2
var2=haskellFunction $var1
...
我想在shell脚本中使用变量作为haskell函数的参数和结果
提前致谢。
吉米