forked from iconnect/regex
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinclude-result.lhs
50 lines (36 loc) · 941 Bytes
/
include-result.lhs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
re-pp and re-include test file
==============================
This is a psuedo-Haskell script used to test the re-pp (and it cut-down
variant, re-include).
Here we have a couple of single-line vanilla code fragment.
\begin{code}
{-# LANGUAGE QuasiQuotes #-}
\end{code}
\begin{code}
{-# OPTIONS_GHC -fno-warn-missing-signatures #-}
\end{code}
And here is an empty one.
\begin{code}
\end{code}
The top main stuff:
%main top
A multi-line vanilla code fragment.
\begin{code}
import Control.Applicative
\end{code}
An (self-)include directive
<div class='includedcodeblock'>
\begin{code}
evalme_PPT_01 = checkThis "" (Just 0) $ (length <$> Just [])
\end{code}
</div>
evalme frgment 1
\begin{code}
evalme_PPT_00 = checkThis "" (0) $ length []
\end{code}
evalme frgment 1
\begin{code}
evalme_PPT_01 = checkThis "" (Just 0) $ (length <$> Just [])
\end{code}
And the main bottom stuff.
%main bottom