Skip to content

Commit 0fb3b2e

Browse files
PL-666ulysses4ever
authored andcommitted
modified movies.hs to Movies.hs
1 parent 66e5705 commit 0fb3b2e

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
@@ -306,6 +306,7 @@ stdlibImportPath mod_name = do
306306
modNameToFilename "Gibbon.List" = "Gibbon" </> "List.hs"
307307
modNameToFilename "Gibbon.PList" = "Gibbon" </> "PList.hs"
308308
modNameToFilename "Gibbon.ByteString" = "Gibbon" </> "ByteString.hs"
309+
modNameToFilename "Gibbon.Prim" = "Gibbon" </> "Prim.hs"
309310
modNameToFilename oth = error $ "Unknown module: " ++ oth
310311

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

0 commit comments

Comments
 (0)