/atom-use-my-lib

Primary LanguageHaskellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

This project is for testing this atom repo as local library.

Usage

  1. Clone this atom repo. Make the directory like this.
├──atom
└──atom-use-my-lib(this repo)
  1. Build the atom repo. See its README.md .
  2. cd to this repo directory and stack build.
  3. stack run atom-use-my-lib-exe. This will generate atom_use_my_code.c and atom_use_my_code.h.
  4. Execute the atom_use_my_code.c. This will stdout:
on
hey
hey
hey
off
hey
hey
hey
hey
hey
on
hey
hey
hey
off
...

.

Environment

In my case:

Command Version
GHCup 0.1.30.0
Stack 2.15.5
cabal 3.10.3.0
GHC 9.4.8