configure -prefix=/usr/local/Cellar/hugs/HEAD-86e2342 □ /usr/local/Cellar/readline/7.0: 45 files, 2MĬloning into '/Users/grgarside/Library/Caches/Homebrew/hugs-git'. Own software and it requires this formula, you'll need to add to yourĬPPFLAGS: -I/usr/local/opt/readline/include Generally there are no consequences of this for you. In order to prevent conflicts when programs look for libreadline we areĭefaulting this GNU Readline installation to keg-only. MacOS provides the BSD libedit library, which shadows libreadline. The interpreter is started using the hugs command. The name Hugs is a mnemonic for the Haskell Users Gofer System. Hugs implements almost all of the Haskell 98 standard, except for mutually recursive modules. This formula is keg-only, which means it was not symlinked into /usr/local. Hugs is an interpreter for Haskell, a standard non-strict functional programming language. => Installing franklinchen/tap/hugs dependency: readline => Installing dependencies for franklinchen/tap/hugs: readline Remote: Total 6 (delta 0), reused 6 (delta 0), pack-reused 0 Remote: Compressing objects: 100% (6/6), done. $ brew install FranklinChen/tap/hugs -HEADĬloning into '/usr/local/Homebrew/Library/Taps/franklinchen/homebrew-tap'. Here’s the expected output from the above command so you can make sure it installed successfully. The installation of Hugs may take some time, as it has to build it on your machine rather than just pouring it. Haskell 98 mode: Restart with command line option -98 to enable extensions That’s it! Once the command finishes running, you can start using Hugs by running hugs from Terminal. Make sure Homebrew installed successfully, then run the following: brew install FranklinChen/tap/hugs -HEAD Run the following in Terminal, and follow the steps as prompted. Install Homebrew if you don’t have it already. You’ll need to open Terminal to run these commands (and to use Hugs), which is in /Applications/Utilities. All the other documentation I could find was regarding installing the full Haskell platform and GHC, so if all you want is Hugs 98 for a university module, here’s how to get it. Here’s the latest instructions for how to install Hugs 98 on macOS. You’ll need to open Terminal to run these commands (and
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |