One reason it would be nice to be able to do this, is you could then get lambdabot :src style listings of prelude function definitions by using the ghci debugger and :list for prelude functions.
is this possible? so far I have tried thart...@ubuntu:~/haskellInstalls/ghcInstalls/source/ghc-6.10.1/libraries/base>head Prelude.hs {-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- thart...@ubuntu:~/haskellInstalls/ghcInstalls/source/ghc-6.10.1/libraries/base>ghci -i. Prelude.hs GHCi, version 6.10.1: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer ... linking ... done. Loading package base ... linking ... done. <command line>: module `Prelude' is not loaded thart...@ubuntu:~/haskellInstalls/ghcInstalls/source/ghc-6.10.1/libraries/base>ghci Prelude.hs GHCi, version 6.10.1: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer ... linking ... done. Loading package base ... linking ... done. <command line>: module `Prelude' is not loaded _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe