All Projects → dmjio → Julio

dmjio / Julio

Licence: other
Julia embedded in Haskell

Programming Languages

Nix
1067 projects
haskell
3896 projects

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].