Skip to content

Commit 1a4b8a7

Browse files
PL-666ulysses4ever
authored andcommitted
modified movies.hs to Movies.hs
1 parent ad2bcb8 commit 1a4b8a7

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

gibbon-compiler/examples/movie-micro-service/Basics.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module Basics where
44
import Gibbon.Prelude
55
import Gibbon.PList
66
import Gibbon.Vector
7-
import Gibbon.Maybe
7+
import Gibbon.Prim
88

99
type Text = Vector Char
1010

gibbon-compiler/examples/movie-micro-service/movies.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module Movies where
33
import Gibbon.Prelude
44
import Gibbon.PList
55
import Gibbon.Vector
6-
import Gibbon.Maybe
6+
import Gibbon.Prim
77
import Basics
88
--
99
type Text = Vector Char
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import Gibbon.Prelude
2+
import Gibbon.PList
3+
import Gibbon.Vector
4+
-- import Gibbon.Prim
5+
gibbon_main = let
6+
-- a = fromMaybe 10 (Nothing)
7+
a = 10
8+
_ = printint a
9+
in ()

gibbon-compiler/src/Gibbon/HaskellFrontend.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ stdlibImportPath mod_name = do
287287
modNameToFilename "Gibbon.List" = "Gibbon" </> "List.hs"
288288
modNameToFilename "Gibbon.PList" = "Gibbon" </> "PList.hs"
289289
modNameToFilename "Gibbon.ByteString" = "Gibbon" </> "ByteString.hs"
290+
modNameToFilename "Gibbon.Prim" = "Gibbon" </> "Prim.hs"
290291
modNameToFilename oth = error $ "Unknown module: " ++ oth
291292

292293
modImportPath :: ModuleName a -> String -> IO FilePath

0 commit comments

Comments
 (0)