Skip to content

michivi/hs_rs_hello_world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build and call Rust code from Haskell

Description

This is just an experiment to demonstrate that:

  • A Haskell package can call Rust code
  • The Cabal package can be configured to automatically build the Rust dependency

Commands

  • nix build . builds the Haskell program.
  • nix build .#rs_hello_world builds the Rust library.
  • nix develop enters the development Shell for the Haskell program.