Skip to content

Conversation

jdbillings
Copy link
Contributor

#140 was merged in November, to reflect the changes made to souffle in 030e111b (PR #2439 in that project). However, that commit missed the cut for souffle 2.4.1 by about one day. Moreover, the Ubuntu PPA described in the docs has 2.4 as its latest release. Right now, these two binary+hex examples only work if you build souffle from source, containing the 030e111b changeset.

On Souffle 2.4, you'll get 0 as the output of:

tonumber(n) :- n=to_number("0xff").
tonumber(n) :- n=to_number("0b111").

At the end of the day, this is a pretty minor nitpick, but I think the docs should note if some example doesn't work on the most recent release. I imagine many users trying Souffle out for the first time are probably installing from rpm/deb, not from source.

@quentin quentin merged commit 2822471 into souffle-lang:master Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants