convex
convex copied to clipboard
Convex Main Repository - Decentralised platform for the Internet of Value
It should be possible to create a non-canonical Vector implementation that wraps Cells directly in a Java Array. Objectives: - Lightweight, better performance for short-lived CVM vectors and less GC...
It might be sensible to switch to UTF-8 Encoding for String values Advantages: - Will typically save some bytes vs. UTF-16, since ASCII characters fit in one byte - UTF-8...
Coming from Clojure, altering a `let` binding looked kind of wrong but it is certainly beginner-friendly for people unfamiliar with immutability. Furthermore, Clojure does have some mechanisms for cheap mutability...
Calling `blob` with a hexstring of odd length results in a fatal error and breaks the executing account. 
Complains that a blob-map cannot be cast to a hash-map: ```clojure (merge (blob-map) (blob-map)) ```
This is a place for documenting failing cases related to expanders. Taken from the docstring of `defexpander`: ```clojure (defexpander expand-once [x e] (e x (fn [x e] x))) (expand 42...
Currently produces this error which is not very informative: ```clojure (recur 42) ;; ERROR (RECUR) ;; Recur: ```
**when-let** and **if-let** return Fatal errors java.lang.IndexOutOfBoundsException when called with no parameters ``` _transaction_submit: FATAL java.lang.IndexOutOfBoundsException: Index: -1 at convex.core.data.VectorLeaf.get(VectorLeaf.java:181) at convex.core.data.List.get(List.java:80) at convex.core.data.ASequence.get(ASequence.java:91) at convex.core.lang.Compiler.compileLet(Compiler.java:380) at convex.core.lang.Compiler.compileList(Compiler.java:355) at convex.core.lang.Compiler.compileCell(Compiler.java:135)...
I found that when I call the `acquire` method to get the current state, the call will always fail on first time call to a peer. This is because the...
The `_` underscore is translated to a `*` before being submitted to the CVM, so it is the same as `*()`