こんにちは、私は haskell の初心者で、次のことを実装しようとしていますが、うまくいきません。
ここに私がやろうとしていることの基本的なアルゴリズムがあります
--define some basic example function
fun x y = x + y
--pseudo code for what i am trying to do
x >= -1.0 || x <= 1.0 --variables x must be within this range else ERROR
y >= 1.0 || y <= 2.0 --variables y must be within this range else ERROR