diff options
Diffstat (limited to '')
-rw-r--r-- | v2/src/content/en/about.md (renamed from v2/src/content/about.md) | 6 | ||||
-rw-r--r-- | v2/src/content/en/pastebins/raku-tuple-type-annotation.md (renamed from v2/src/content/pastebins/raku-tuple-type-annotation.md) | 6 | ||||
-rw-r--r-- | v2/src/content/en/pastebins/sicp-exercise-3-19.md (renamed from v2/src/content/pastebins/sicp-exercise-3-19.md) | 6 | ||||
-rw-r--r-- | v2/src/content/en/tils/lisp-three-way-conditional.md (renamed from v2/src/content/tils/lisp-three-way-conditional.md) | 6 | ||||
-rw-r--r-- | v2/src/content/favicon.ico | bin | 0 -> 1150 bytes | |||
-rw-r--r-- | v2/src/content/pt/pastebins/exercicios-sicp-e-19.md | 103 | ||||
-rw-r--r-- | v2/src/content/pt/sobre.md | 9 |
7 files changed, 112 insertions, 24 deletions
diff --git a/v2/src/content/about.md b/v2/src/content/en/about.md index b10f26b..1e39407 100644 --- a/v2/src/content/about.md +++ b/v2/src/content/en/about.md @@ -2,12 +2,6 @@ title: About -layout: page - -lang: en - -ref: aboud - --- It's all about me, baby! diff --git a/v2/src/content/pastebins/raku-tuple-type-annotation.md b/v2/src/content/en/pastebins/raku-tuple-type-annotation.md index 3d5ff34..5877470 100644 --- a/v2/src/content/pastebins/raku-tuple-type-annotation.md +++ b/v2/src/content/en/pastebins/raku-tuple-type-annotation.md @@ -4,12 +4,6 @@ title: Raku tuple type annotation date: 2019-12-29 -layout: post - -lang: en - -ref: raku-tuple-type-annotation - --- ```perl diff --git a/v2/src/content/pastebins/sicp-exercise-3-19.md b/v2/src/content/en/pastebins/sicp-exercise-3-19.md index 8834889..3188dce 100644 --- a/v2/src/content/pastebins/sicp-exercise-3-19.md +++ b/v2/src/content/en/pastebins/sicp-exercise-3-19.md @@ -4,12 +4,6 @@ title: SICP exercise 3.19 date: 2021-09-02 -layout: post - -lang: en - -id: sicp-exercise-3-19 - --- Some content here, before: diff --git a/v2/src/content/tils/lisp-three-way-conditional.md b/v2/src/content/en/tils/lisp-three-way-conditional.md index 81920c4..cd7a034 100644 --- a/v2/src/content/tils/lisp-three-way-conditional.md +++ b/v2/src/content/en/tils/lisp-three-way-conditional.md @@ -6,12 +6,6 @@ date: 2021-04-24 3 update: 2021-08-14 -layout: post - -lang: en - -ref: three-way-conditional-for-number-signs-on-lisp - --- A useful macro from Paul Graham's [On Lisp][on-lisp] book: diff --git a/v2/src/content/favicon.ico b/v2/src/content/favicon.ico Binary files differnew file mode 100644 index 0000000..8f2130a --- /dev/null +++ b/v2/src/content/favicon.ico diff --git a/v2/src/content/pt/pastebins/exercicios-sicp-e-19.md b/v2/src/content/pt/pastebins/exercicios-sicp-e-19.md new file mode 100644 index 0000000..d4db88d --- /dev/null +++ b/v2/src/content/pt/pastebins/exercicios-sicp-e-19.md @@ -0,0 +1,103 @@ +--- + +title: SICP exercise 3.19 + +date: 2021-09-02 + +--- + +Some content here, before: + +```scheme +(define (cycle? l) + (define (rec l x) + (cond + ((null? x) false) + ((eq? l x) true) + (true (rec l (cdr x))))) + (rec l (cdr l))) +``` + +Sample interactive session: + +```scheme +scheme@(guile-user)> (define true #t) +scheme@(guile-user)> (define false #f) +scheme@(guile-user)> +(define (cycle? l) + (define (rec l x) + (cond + ((null? x) false) + ((eq? l x) true) + (true (rec l (cdr x))))) + (rec l (cdr l))) +scheme@(guile-user)> (cycle? '(1 2 3)) +$9 = #f +scheme@(guile-user)> (cycle? (make-cycle '(1 2 3))) +$10 = #t +``` + +# An h1 + +a list: + +1. one +2. two +3. three + +some content. + +- item +- another +- yet another + +## An h2 + +Xablau: + +``` xupliu 1 + +3 4 + + + + + +dez ``` + +Foi `wikiwiu`. + +a very long code block: + +``` +wef +wef wef wef wef +wef wef wef wef we fwef wef wef wef wef +``` + +Someone said: + +> Xablau, xupliu. + +### A repeated header ### A repeated header + +a big list: + +1. a +1. a +1. a +1. a +1. a +1. a +1. a +1. a +1. a +1. a +1. a +1. a +1. a +1. a +1. a +1. a +1. a +1. a diff --git a/v2/src/content/pt/sobre.md b/v2/src/content/pt/sobre.md new file mode 100644 index 0000000..97eecf8 --- /dev/null +++ b/v2/src/content/pt/sobre.md @@ -0,0 +1,9 @@ +--- + +title: About + +--- + +It's all about me, baby! + +``` xablau ``` |