Skip to content

Instantly share code, notes, and snippets.

@Javran
Last active April 12, 2021 04:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Javran/587dd0c7e5b6fe670686a8516da35173 to your computer and use it in GitHub Desktop.
Save Javran/587dd0c7e5b6fe670686a8516da35173 to your computer and use it in GitHub Desktop.
module Main (main) where
import CPython.Simple
main :: IO ()
main = initialize
name: cpython-demo
dependencies:
- base
- cpython
- text
executables:
demo:
main: Main.hs
ghc-options:
- -Wall
- -threaded
- -rtsopts
- -with-rtsopts=-N
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