I'm trying to load a function, but I'm in trouble because I can't.

Asked 2 years ago, Updated 2 years ago, 94 views

baby.hs:2:35:error:parse error on input'\'
  |
2 | \cocoatextscaling0\cocoaplatform0
  |                                   ^
Failed, no modules loaded.

I can't write a sentence like this
Could you please let me know?

haskell

2022-09-30 11:18

1 Answers

"By any chance, isn't it a file created with the ""text edit"" that is included as a standard in macOS?"If you save a text edit without specifying it, it will be saved in a format that GHCi (and most other programming language processing systems) cannot interpret.

It is recommended that you use an editor other than a text edit, such as Visual Studio Code.


2022-09-30 11:18

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.