5
GHCi'de çok satırlı komutlar
Ghci'ye çok satırlı komutları girmede sorun yaşıyorum. Aşağıdaki 2 satırlı kod bir dosyadan çalışır: addTwo :: Int -> Int -> Int addTwo x y = x + y Ama ghci'ye girdiğimde bir hata alıyorum: <interactive>:1:1: error: Variable not in scope: addTwo :: Int -> Int -> Int Ayrıca kodu içine …