Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
faui2k17
generator
Commits
de0d3feb
Unverified
Commit
de0d3feb
authored
Aug 23, 2019
by
Philip Kaludercic
🌝
Browse files
fixed empty page bug
parent
5b5a94c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
local/micronews/paged-blog.scm
View file @
de0d3feb
...
@@ -19,10 +19,12 @@ See (haunt builder blog)'s blog for more details."
...
@@ -19,10 +19,12 @@ See (haunt builder blog)'s blog for more details."
(
else
(
shorter-than
(
cdr
lst
)
(
1-
n
)))))
(
else
(
shorter-than
(
cdr
lst
)
(
1-
n
)))))
(
define
(
group-by
lst
n
)
(
define
(
group-by
lst
n
)
(
if
(
shorter-than
lst
n
)
(
cond
((
null?
lst
)
'
())
(
list
lst
)
((
shorter-than
lst
n
)
(
receive
(
head
rest
)
(
split-at
lst
n
)
(
list
lst
))
(
cons
head
(
group-by
rest
n
)))))
(
else
(
receive
(
head
rest
)
(
split-at
lst
n
)
(
cons
head
(
group-by
rest
n
))))))
(
lambda
(
site
posts
)
(
lambda
(
site
posts
)
(
let*
((
sorted
(
posts/reverse-chronological
posts
))
(
let*
((
sorted
(
posts/reverse-chronological
posts
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment