Skip to content

Commit

Permalink
undo some temporary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
wavewave committed May 31, 2022
1 parent 8815aeb commit 79243e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/multiple-c-functions/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ import F (fCategorified)
-- This generates /tmp/multiple_c_functions.c, which contains two
-- C functions: `multiple_c_functions` (the main function), and `g`.
main :: IO ()
main = writeCFiles "." "multiple_c_functions" fCategorified
main = writeCFiles "/tmp" "multiple_c_functions" fCategorified
2 changes: 1 addition & 1 deletion examples/separate-categorification/G.hs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ import Data.Int (Int32)
import Data.Word (Word64)

g :: C Int32 -> C Word64
g x = if odd x then fromIntegral x + 5 else 43
g x = if odd x then fromIntegral x + 5 else 42

Categorify.separately 'g [t|C.Cat|] []

0 comments on commit 79243e9

Please sign in to comment.