Debian Codegraph @

tests/data/notebooks/outputs/ipynb_to_myst/haskell_notebook.md

raw
1 ---
2 kernelspec:
3 display_name: Haskell
4 language: haskell
5 name: haskell
6 ---
7
8 # Example Haskell Notebook
9
10 +++
11
12 Define a function to add two numbers.
13
14 ```{code-cell} Haskell
15 f :: Num a => a -> a -> a
16 f x y = x + y
17 ```
18
19 Try to use the function
20
21 ```{code-cell} Haskell
22 f 1 2
23 ```