Skip to content

dmjio/Julio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Julio

An example of Julia embedded in Haskell.

Per the instructions on Julia's website on embedding.

DSL

{-# LANGUAGE OverloadedStrings #-}
module Main where

import Julia

main :: IO ()
main = do
  juliaInit
  evalJulia "print(sqrt(2.0))"
  exitJulia

Build

nix-build

Run

-- [nix-shell:~/Desktop/julio]$ ./result/bin/main
-- 1.4142135623730951

Reference

"Julio, get the stretch"

  • Bruno Mars

About

Julia embedded in Haskell

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published