is there any possibility to use haskell functions in unix shell scripts?

for instance:

#!/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

...

I want to use variables in shell scripts as arguments and results of haskell functions

Thanks in advance.

jimmy

Edit
Report