HI all,
I have
a) upgraded ghc 7.8.4 to 7.10.2
b) cloned the course directory again
c) made a two line change to src/Course/List.hs i.e.
(++) =
error "todo: Course.List#(++)"
to
(++) list1 list2 =
foldRight (:.) list2 list1
and still I get a segfault using the ++ operator.
I have removed all directories like .ghc .cabal .cabal-sandbox from the top level -- just in case something ghci is picking up something from there.
what else can I try?
Bye
Rob
localhost: chmod og-wr course
localhost: cd course/
localhost: chmod og-wr .ghci
localhost: cd src/Course
localhost: cp List.hs List.hs.bak
localhost: vi List.hs
localhost: diff List.hs List.hs.bak
169,170c169,170
< (++) list1 list2 =
< foldRight (:.) list2 list1
---
> (++) =
> error "todo: Course.List#(++)"
localhost: cd ../../
localhost: ghci
[ 1 of 28] Compiling Course.Core ( src/Course/Core.hs, interpreted )
.
.
>> :t (++)
(++) :: List a -> List a -> List a
>> Nil ++ Nil
Segmentation fault (core dumped)