Skip to content

Commit 4af2aa8

Browse files
committed
Add module declarations to introduction chapters to please stack
1 parent 5d56856 commit 4af2aa8

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

Physics/src/Introduction/About.lhs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ The book is aimed at you who have some knowledge of
3939
sure you could pick it up as we go. We believe in you!
4040

4141
If you wonder about the weird code blocks at the start of many
42-
chapters, they are there to declare the chapters as Haskell
42+
chapters,
43+
44+
> module Introduction.About where
45+
46+
they are there to declare the chapters as Haskell
4347
modules. All chapters are written in *Literate Haskell*, and can be
4448
used with GHC/GHCi directly as source code. Therefore, you may choose
4549
to read each chapter as documented source code, rather than text with

Physics/src/Introduction/GettingStarted.lhs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
2-
3-
1+
> module Introduction.GettingStarted where
42

53
What you need to dive in
64
======================================================================

Physics/src/Introduction/WhatIsADsl.lhs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
> module Introduction.WhatIsADsl where
2+
13
So what's a DSL?
24
======================================================================
35

0 commit comments

Comments
 (0)