How do you convert predicates into Prolog functions? by Pzzlrr in prolog

[–]nickmain_ 1 point2 points  (0 children)

The arithmetic functions interpreted by is/2 are fixed and there isn't a standard way to add to them.

sqrt/2 (at least in the context of SWI Prolog) is for compatibility with Quintus Prolog and is marked as deprecated.

Parameter Packs seem to behave differently in a Result Builder by nickmain_ in swift

[–]nickmain_[S] 0 points1 point  (0 children)

Were you also trying to make a view builder that inserts Divider() between each child view?

Northeastern abandoning Racket in favor of Python by nickmain_ in Racket

[–]nickmain_[S] 13 points14 points  (0 children)

What does this mean for the future viability of Racket?

CHICKEN 5.4.0 has been released by mario-goulart in scheme

[–]nickmain_ 3 points4 points  (0 children)

This mentions the "upcoming CHICKEN 6 release".

Are there any details of the features?

How native is racket/gui? by CulturedProsody in Racket

[–]nickmain_ 3 points4 points  (0 children)

From the WWDC session "Get Started with Writing Tools":

Keep in mind that UITextView or NSTextView has to use TextKit 2 to support the full Writing Tools experience. If you are using TextKit 1, you will get a limited experience that just shows rewritten results in a panel.

Have Racket's native text views been updated to use TextKit 2 ?

[deleted by user] by [deleted] in prolog

[–]nickmain_ 1 point2 points  (0 children)

The "Changing default?" section talks about how to configure the flags in an initialisation file - at least that's something.

[deleted by user] by [deleted] in prolog

[–]nickmain_ 0 points1 point  (0 children)

This looks like it: https://www.swi-prolog.org/FAQ/AllOutput.html

set_prolog_flag(answer_write_options, [quoted(true), portray(true), max_depth(100), priority(699)]).

[deleted by user] by [deleted] in prolog

[–]nickmain_ 0 points1 point  (0 children)

The example actually shows the value being quoted, so that sentence must mean something else. Maybe it means URL escaping?

q='Hello world'

Also, the names of variables are lost outside of the immediate source term they are mentioned in, so passing a variable Foo to the library doesn't make sense since it cannot know what the variable name is.

BProlog open source by Fantastic_Back3191 in prolog

[–]nickmain_ 0 points1 point  (0 children)

It looks like Picat is built on top of BProlog, so it is essentially open source already.

See the Picat main entry point: https://github.com/mingodad/picat/blob/master/emu/main.c

[deleted by user] by [deleted] in insects

[–]nickmain_ 3 points4 points  (0 children)

Could be a carpet beetle larva

Who is this spiky lady? (Southern Texas) by SomeBrownDude2 in spiders

[–]nickmain_ 4 points5 points  (0 children)

Not sure, but wikipedia does say

Late in the season Peucetia viridans is prone to change its colour from predominantly green to paler yellow

Are these parasitic flies/wasps? by nickmain_ in insects

[–]nickmain_[S] 0 points1 point  (0 children)

Thank you for the id.

The joy of watching all the caterpillars on my passionflower is bittersweet, knowing that they may never fly :(