Get Quality from Haskell, Get Bullshit Done Quickly with Đ (Edh)
In any of your .edh
files, define IPython style code cells (i.e.
delimited by `# %%
` lines), then code lens will appear to run
Cell|Above|Below
acccordingly with a single click.
`# %{
` and `# %}
` can be used to group multiple cells into a block,
run as a whole.
The whole file can also be run by clicking All
code lens at the top.
You'll be prompted to start a new Đ terminal session if no one open atm
you click a code lens. Each workspace root can contain a haskit.json
to specify plenty different command lines for various Đ sessions, e.g.:
{
"edh.terminal.cmdl": ["stack run hski", "cabal run haskit:hski"]
}
All candidates will be listed as options, even for a multi-root workspace.
Also the Edh: New Đ Terminal command can be used to start as many Đ terminal sessions as you wish.
You can run an executable of pre-built Đ interpreter in production-like
scenarios, or for development-like scenarios, you'd use command lines like
stack run xxx
or cabal run xxx
to run an ad-hoc built Đ interpreter
after changed some source code.
You need to install and use EPM to manage Đ packages.
-
Packages under development need to reside within an EPM home too.
-
Hierarchical EPM homes and multi-root workspaces are the norm.