2
Idris REPLで関数を書くにはどうすればいいですか?私はREPLで関数定義を入力すると、私は次のエラーメッセージが表示されます:Idris REPL:関数を作成する
(input):1:7: error: expected: "$",
"&&", "*", "*>", "+", "++", "-",
"->", ".", "/", "/=", "::", "<",
"<$>", "<*", "<*>", "<+>", "<<",
"<=", "<==", "<|>", "=", "==",
">", ">=", ">>", ">>=", "\\\\",
"`", "|", "||", "~=~",
ambiguous use of a left-associative operator,
ambiguous use of a non-associative operator,
ambiguous use of a right-associative operator,
end of input, function argument
longer: string -> string -> string<EOF>
^
ありがとう、それは動作しますが、マルチライン機能を作成する方法はありますか?最初の行の定義や他の行の説明と同様です。 – Moebius
行の最後に 'shift + enter'または' alt + enter'を試してください。 – laughedelic
@laughedelicはiterm 2(mac)では動作しません。 – Moebius