diff options
author | Ben Sima <ben@bsima.me> | 2023-08-17 17:28:03 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2023-08-17 22:43:38 -0400 |
commit | cc6aac612e36da3c9b9b4e47fc16ed512a79f2d9 (patch) | |
tree | e32cfb60890c4293465c34d31c5771882b7fcb02 /Biz/Namespace.hs | |
parent | 204ccb2bcab7b6fa8fb4d8a26e65c591ae075343 (diff) |
Nixify rust build
Not getting deps yet but thats okay, I basically need to do a bunch of annoying
nix work to get rustPackages into a thing like pythonPackages.
Diffstat (limited to 'Biz/Namespace.hs')
-rw-r--r-- | Biz/Namespace.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Biz/Namespace.hs b/Biz/Namespace.hs index 8cc6b5c..c811554 100644 --- a/Biz/Namespace.hs +++ b/Biz/Namespace.hs @@ -90,6 +90,7 @@ toModule :: Namespace -> String toModule (Namespace parts Hs) = joinWith "." parts toModule (Namespace parts Py) = joinWith "." parts toModule (Namespace parts Scm) = "(" ++ joinWith " " parts ++ ")" +toModule (Namespace parts Rs) = joinWith "::" parts toModule (Namespace {..}) = panic <| "toModule not implemented for " <> show ext toHaskellModule :: Namespace -> String |