13
45
Fork
You've already forked fibers
10

run init-thunk during fibers web server start #122

Open
JasonKDarby wants to merge 2 commits from JasonKDarby/jdarby/init-thunk into master
pull from: JasonKDarby/jdarby/init-thunk
merge into: guile:master
guile:main
guile:revert-110-wip-cancel-timer-operations
guile:fdless-draft
guile:pr-60-adjust
guile:more-operations
guile:timer-wheel
guile:cross
guile:nice-dynamic-wind-experiment
JasonKDarby commented 2025年07月02日 04:40:16 +02:00 (Migrated from github.com)
Copy link

Provides an init thunk useful for things like setting up guile-ares-rs within run-fibers.

Provides an init thunk useful for things like setting up [guile-ares-rs](https://github.com/abcdw/guile-ares-rs) within `run-fibers`.
Bqleine (Migrated from github.com) reviewed 2025年07月04日 15:44:31 +02:00
Bqleine (Migrated from github.com) commented 2025年07月04日 15:44:31 +02:00
Copy link

IIRC #nil is for Emacs lisp compatibility and its better to use #f or '() in scheme.

‘nil’ in ELisp is an amalgam of Scheme’s ‘#f’ and ‘'()’. It is false,
and it is the end-of-list; thus it is a boolean, and a list as well.

Guile has chosen to support ‘nil’ as a separate value, distinct from
‘#f’ and ‘'()’. This allows existing Scheme and Elisp code to maintain
their current semantics. ‘nil’, which in Elisp would just be written
and read as ‘nil’, in Scheme has the external representation ‘#nil’.

– (guile) Nil

IIRC #nil is for Emacs lisp compatibility and its better to use #f or '() in scheme. > ‘nil’ in ELisp is an amalgam of Scheme’s ‘#f’ and ‘'()’. It is false, and it is the end-of-list; thus it is a boolean, and a list as well. > > Guile has chosen to support ‘nil’ as a separate value, distinct from ‘#f’ and ‘'()’. This allows existing Scheme and Elisp code to maintain their current semantics. ‘nil’, which in Elisp would just be written and read as ‘nil’, in Scheme has the external representation ‘#nil’. – (guile) Nil
Bqleine (Migrated from github.com) reviewed 2025年07月04日 15:45:49 +02:00
Bqleine (Migrated from github.com) commented 2025年07月04日 15:45:48 +02:00
Copy link

I don’t have anything to do with fibers though so don’t listen to me!

I don’t have anything to do with fibers though so don’t listen to me!
JasonKDarby (Migrated from github.com) reviewed 2025年07月04日 16:20:24 +02:00
JasonKDarby (Migrated from github.com) commented 2025年07月04日 16:20:24 +02:00
Copy link

Thanks, good catch. I swapped it.

Thanks, good catch. I swapped it.
ArneBab left a comment
Copy link

This looks useful and perfectly safe.

This looks useful and perfectly safe.
civodul closed this pull request 2026年03月30日 20:28:08 +02:00
civodul reopened this pull request 2026年04月05日 18:09:17 +02:00
This pull request is broken due to missing fork information.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin JasonKDarby/jdarby/init-thunk:JasonKDarby/jdarby/init-thunk
git switch JasonKDarby/jdarby/init-thunk

Merge

Merge the changes and update on Forgejo.
git switch master
git merge --no-ff JasonKDarby/jdarby/init-thunk
git switch JasonKDarby/jdarby/init-thunk
git rebase master
git switch master
git merge --ff-only JasonKDarby/jdarby/init-thunk
git switch JasonKDarby/jdarby/init-thunk
git rebase master
git switch master
git merge --no-ff JasonKDarby/jdarby/init-thunk
git switch master
git merge --squash JasonKDarby/jdarby/init-thunk
git switch master
git merge --ff-only JasonKDarby/jdarby/init-thunk
git switch master
git merge JasonKDarby/jdarby/init-thunk
git push origin master
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
guile/fibers!122
Reference in a new issue
guile/fibers
No description provided.
Delete branch "JasonKDarby/jdarby/init-thunk"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?