Search code examples
macoshaskellhaskell-snap-framework

Where is snap web framework (Haskell) on Mac OSX installed


I am trying to install snap on my MAC OSX, the cabal install snap snap-templates command worked, but after that when I try snap init I get the error that snap command does not exist.

I have already checked the question: Snap web framework and OSX Path and it does not help me.

I checked the Haskell/bin and .cabal/bin path and cannot see any snap file there. So where is the file installed?


Solution

  • I was able to my snap installed at the location: /users/admin/library/haskell/bin

    I am a new user of Mac and was confused as I was trying to find snap in /library/haskell/bin, where it was not present. On using the find command: find / -name "*snap*" I was able to find the correct path. At least am able to do now use snap, by referring it using the complete path. Still trying to figure out the correct file to put the path in though.