Email or username:

Password:

Forgot your password?
91 posts total
Grigory Shepelev

on, newermind. #sway will do the trick. I just need wayland compositor with `zwp_input_method` interface support

Grigory Shepelev

.@gramian randomly appear in my feed and I took a look at his profile.

The background image made me jealous. I want all these books now 📚️

Grigory Shepelev

Question for #scheme ☯️ kings & queens 👑 ! Are there an alternative to clojure's alter-var-root clojuredocs.org/clojure.core/w in scheme?

Imagine I have a module `(X)` with `(define a 1) (define-public (f x) (+ x a))` and module `(Y)` that has `#:use-module (X)`. In `(Y)` want to alter a from `(X)` in a way that would also affect `f`. Example: (being in module `(Y)`): `(alter! a 2) (equal? (f 3) 5) => #t`

CC @wingo @rml @cwebber

Andy Wingo

@shegeley @rml @cwebber most schemers are republicans, in the anti-monarchist sense :) but if the intended use case is global monkeypatching, then in guile `set!` is your tool. if `a` is exported, then just `set!` on `a`. if not, `(set! (@@ (X) a) new-val)`

Grigory Shepelev

@wingo @rml @cwebber
@monkey1

Imagine that you have a module already written by someone that does the job you want to, but there is only one variable (example `(define pi 3.14)` ) that you want just override but otherwise would like everything to work as previously. Wouldn't like to copy-paste a one of code

Grigory Shepelev

[Disclaimer: I know that the chance of actually finding something via Mastodon post is super low, but I'll try]

Looking for #clojure (#clojurescript) or #guile (#scheme ) #job opportunities.

:clojure: :guix: :lisp:

Show previous comments
Grigory Shepelev

I didn't expected to get so much re-posts and favs from so many interesting people. Very thankful for #mastodon community 🙂 :mastodance:

Grigory Shepelev

Update: I didn't find any job via #mastodon, but felt popular for a little bit with all the reposts and favorites. Nice feeling.

Grigory Shepelev

View from my window yesterday morning

Grigory Shepelev

Packed «JRM’s Syntax-rules Primer for the Merely Eccentric» manual as .texinfo for guix.

github.com/shegeley/jrm-syntax

#scheme #macro #syntax-rules #guile #guix

Grigory Shepelev

Had a pair programming session on git.sr.ht/~abcdw/guile-nrepl with @abcdw yesterday morning.

Delightful experience of watching a pro developer workflow and and explanation on how repls work in general.

guile-geiser must die.

#guix #repl #guile #scheme

Grigory Shepelev

Started to understand GNU Build Toolchain (Automake & friends)

Send a PR to guile-wayland library that deals with project's structure and build system

#guile #guix #gnu

github.com/guile-wayland/guile

Grigory Shepelev

I understand the "coreness" of GNU Make and Autotools but it's seems so damn f*cked up.

Trying to fix the build system of the Guile's Wayland bindings.

Any help appreciated.

github.com/shegeley/guile-wayl

#guix #guile #wayland

Grigory Shepelev

No. It was my mistake. The project was building from the very beginning. I just wanted fancier "formatting" for the Make- and autotools files. Broke everything and couldn't debug. I'd say it really lacks basic static analysis.The errors ares happens only in compile-time, and the messages are barely decryptable.

Go Up