on master help sign in
Merge pull request #1 from arianvp/patch-1

Fix some discrepancies in the star wars universe

commit49fc2710598065ec223b506969ba86793e4e2de7 authorCsongor Kiss <kiss.csongor.kiss@gmail.com> dateWed 7 Sep 2016, 19:34 (10 years ago) parent58f574e399e71d
1 file changed+3−3
examples/StarWars.hs+3−3
examples/StarWars.hs+3−3
@@ -48,8 +48,8 @@ r2d2 :: Droid
4848r2d2 = Droid
4949 { name = "R2-D2"
5050 , friends = [upcast luke]
51− , appearsIn = [NEWHOPE]
52− , primaryFunction = "destroy"
51+ , appearsIn = [NEWHOPE, EMPIRE, JEDI]
52+ , primaryFunction = "repair ships"
5353 }
5454
5555c3po :: Droid
@@ -57,7 +57,7 @@ c3po = Droid
5757 { name = "C3PO"
5858 , friends = [upcast r2d2, upcast luke]
5959 , appearsIn = [NEWHOPE, EMPIRE, JEDI]
60− , primaryFunction = "exist"
60+ , primaryFunction = "protocol and human relations"
6161 }
6262
6363getName :: HasField r "name" a => r -> a