Last active
April 12, 2021 04:27
-
-
Save Javran/587dd0c7e5b6fe670686a8516da35173 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main (main) where | |
import CPython.Simple | |
main :: IO () | |
main = initialize |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: cpython-demo | |
dependencies: | |
- base | |
- cpython | |
- text | |
executables: | |
demo: | |
main: Main.hs | |
ghc-options: | |
- -Wall | |
- -threaded | |
- -rtsopts | |
- -with-rtsopts=-N |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resolver: lts-16.27 | |
packages: | |
- . | |
extra-deps: | |
- git: https://github.com/zsedem/haskell-cpython.git | |
commit: 42f27b3d9e2c2b5f022ef7e8fd125110c3dadd79 | |
flags: | |
cpython: | |
usepython38: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment