Skip to content

Commit

Permalink
modified movies.hs to Movies.hs
Browse files Browse the repository at this point in the history
  • Loading branch information
PL-666 committed Sep 27, 2023
1 parent 881901a commit d8e6d3f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gibbon-compiler/examples/movie-micro-service/Basics.hs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module Basics where
import Gibbon.Prelude
import Gibbon.PList
import Gibbon.Vector
import Gibbon.Maybe
import Gibbon.Prim

type Text = Vector Char

Expand Down
2 changes: 1 addition & 1 deletion gibbon-compiler/examples/movie-micro-service/movies.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module Movies where
import Gibbon.Prelude
import Gibbon.PList
import Gibbon.Vector
import Gibbon.Maybe
import Gibbon.Prim
import Basics
--
type Text = Vector Char
Expand Down
9 changes: 9 additions & 0 deletions gibbon-compiler/examples/movie-micro-service/sth.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import Gibbon.Prelude
import Gibbon.PList
import Gibbon.Vector
-- import Gibbon.Prim
gibbon_main = let
-- a = fromMaybe 10 (Nothing)
a = 10
_ = printint a
in ()
1 change: 1 addition & 0 deletions gibbon-compiler/src/Gibbon/HaskellFrontend.hs
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ stdlibImportPath mod_name = do
modNameToFilename "Gibbon.List" = "Gibbon" </> "List.hs"
modNameToFilename "Gibbon.PList" = "Gibbon" </> "PList.hs"
modNameToFilename "Gibbon.ByteString" = "Gibbon" </> "ByteString.hs"
modNameToFilename "Gibbon.Prim" = "Gibbon" </> "Prim.hs"
modNameToFilename oth = error $ "Unknown module: " ++ oth

modImportPath :: ModuleName a -> String -> IO FilePath
Expand Down

0 comments on commit d8e6d3f

Please sign in to comment.