Comments (2)
I think @EmilieGrienenberger implemented that at some point. But this feature was never merged, no?
from dedukti.
I must confess that it not documented but the private
keyword exists https://github.com/Deducteam/Dedukti/blob/45270ea9b75ad1ae53d7e9d4b7fdd993436d64cd/syntax.bnf#L9C13-L9C20.
However, I do not know what it means to not include them in dko's. Currently, if I understand them correctly, user is not allowed to call them explicitly in other file than the one which defines them, however, since some function can reduce to them, they must be included in dko's with their rewrite rules.
At first, it was thought as a mechanism to declare local functions just like a let ... in
in OCaml. This is for instance what is done in https://github.com/GuillaumeGen/AdventOfCode_in_Dedukti/blob/8fe64fd27ccfa8468440c961b6176c5e5170479c/Lib/Ord.dk#L10 where max_aux
is not in the user interface but simply used to define max
.
It was then strongly used by @Gaspi, @francoisthire and I to get guarantee that some terms are out of the "target of the translation".
from dedukti.
Related Issues (20)
- The master branch is not compatible with cmdliner 1.1.0 HOT 2
- Hints in error messages
- Dedukti install HOT 2
- Outdated readme HOT 2
- Why Reduction.are_convertible_lst calls term_eq ? HOT 5
- Parameters not allowed in the declaration of a definable symbol
- Command line manual is outdated
- Rule typing failure HOT 5
- Path resolution
- Module identifier quoting
- dk --version does not work
- dk dep is too slow
- Erroneous suggestion from dk dep HOT 1
- Erroneous suggestion from dk dep HOT 1
- Identifiers with single \ not accepted
- feature request: #REQUIRE module alias
- "Package conflict" when installing HOT 2
- Links seem to 404 HOT 2
- feature request: option for not printing warnings HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dedukti.