How can I get C-c C-l to first run cpp on a .hsc file and then load
the .hs file?
I checked out the network package from darcs and then did:
Start ghci, C-c C-z, then:
Prelude> :set -cpp
And then pressed load, C-c C-l:
Prelude> :load "/Users/tibell/src/haskell/network-bytestring/Network/Socket.hsc"
<command line>:
Could not find module
`/Users/tibell/src/haskell/network-bytestring/Network/Socket.hsc':
Use -v to see a list of the files searched for.
Failed, modules loaded: none.
Prelude> :load "/Users/tibell/src/haskell/network-bytestring/Network/Socket.hsc"
<command line>:
Could not find module
`/Users/tibell/src/haskell/network-bytestring/Network/Socket.hsc':
Use -v to see a list of the files searched for.
Failed, modules loaded: none.
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe