Skip to content

Commit

Permalink
Merge pull request #50 from octo-technology/chapterorder
Browse files Browse the repository at this point in the history
remove chapter30reason, fix chapter30pascal, Roleplay ch27
  • Loading branch information
AymericBethencourt authored Sep 4, 2020
2 parents 8779b4b + 3b5443f commit cedf369
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
9 changes: 2 additions & 7 deletions src/frontend/src/pages/Chapter/Chapter.data.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import { data as pascalDataDeployContract } from '../Chapters/Pascal/ChapterDepl
import { data as pascalDataFA12 } from '../Chapters/Pascal/ChapterFA12'
import { data as pascalDataFA20 } from '../Chapters/Pascal/ChapterFA20'
import { data as pascalDataFA20Operator } from '../Chapters/Pascal/ChapterFA20Operator'
import { data as pascalDataFA20Hook } from '../Chapters/Pascal/ChapterFA20Hook'
import { data as pascalDataFunctions } from '../Chapters/Pascal/ChapterFunctions'
import { data as pascalDataInteractions } from '../Chapters/Pascal/ChapterInteractions'
import { data as pascalDataInterop } from '../Chapters/Pascal/ChapterInterop'
Expand Down Expand Up @@ -220,7 +221,7 @@ export const chapterData = [
pathname: '/pascal/chapter-fa2-hook',
language: 'PascaLIGO',
name: '30 - Pascal - FA2 Hook',
data: camelDataFA20Hook,
data: pascalDataFA20Hook,
},

{
Expand Down Expand Up @@ -494,10 +495,4 @@ export const chapterData = [
name: '29 - Reason - FA2 Operator',
data: reasonDataFA20Operator,
},
{
pathname: '/reason/chapter-fa2-hook',
language: 'ReasonLIGO',
name: '30 - Reason - FA2 Hook',
data: camelDataFA20Hook,
},
]
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Chapter 27 : Preprocessor

<dialog character="mechanics"></dialog>
<dialog character="mechanics">Now that you are producing a lot of code it could be relevant to split the code and work with many files including each other.</dialog>

Instead of writing the LIGO code in a single file, it is possible to split the code into different files and include some external code into our file. The pre-processor is responsible for handling code inclusion. While working with multiple files we may encounter a problem of cyclic inclusion. To prevent such situation some pre-processor commands are available.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Chapter 27 : Preprocessor

<dialog character="mechanics"></dialog>
<dialog character="mechanics">Now that you are producing a lot of code it could be relevant to split the code and work with many files including each other.</dialog>

Instead of writing the LIGO code in a single file, it is possible to split the code into different files and include some external code into our file. The pre-processor is responsible for handling code inclusion. While working with multiple files we may encounter a problem of cyclic inclusion. To prevent such situation some pre-processor commands are available.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Chapter 27 : Preprocessor

<dialog character="mechanics"></dialog>
<dialog character="mechanics">Now that you are producing a lot of code it could be relevant to split the code and work with many files including each other.</dialog>

Instead of writing the LIGO code in a single file, it is possible to split the code into different files and include some external code into our file. The pre-processor is responsible for handling code inclusion. While working with multiple files we may encounter a problem of cyclic inclusion. To prevent such situation some pre-processor commands are available.

Expand Down

0 comments on commit cedf369

Please sign in to comment.