flip111
flip111
When using the value of headerOrder now you will see an error like this: ``` *** Exception: Prelude.undefined CallStack (from HasCallStack): error, called at libraries/base/GHC/Err.hs:79:14 in base:GHC.Err undefined, called at...
Hey thanks for the library. Is there any possibility for a C version of this? Then it would be much easier to embed in other languages. A C-wrapper would also...
php ``` php $name = "John"; if ($name[0] !== "J") { echo 'The name does not start with a capital J'; } ``` generated zep ``` if name[0] !== "J"...
php ``` php if (! preg_match('some regex here', $subject, $regs)) { ``` zephir ``` if !(preg_match("some regex here", subject, regs)) { ``` this will crash zephir because `regs` was not...
``` /** * @return bool */ public function __construct() { } ``` zephir code: ``` public function __construct() -> bool ``` A constructor is not allowed to return any value...
in php ``` if !(is_scalar(v)) and !(is_array(v)) { ``` error ``` Zephir\ParseException: Syntax error in /home/flip101/zep/properties.zep on line 16 if !(is_scalar(v)) and !(is_array(v)) { -------------------------------------^ ``` documentation: http://docs.zephir-lang.com/en/latest/operators.html#logical-operators be aware...
https://hackage.haskell.org/package/foundation-0.0.25/docs/Foundation.html#t:CountOf could this constructor be changed from `CountOf Int` to `Integral a => CountOf a` ?
I would really appreciate a typeclass that guarantees pinned memory that is safe to pass between haskell and C. I'm not sure which types could fall under this typeclass. Maybe...
Could this be incorporated into foundation? https://github.com/nh2/haskell-ordnub