Declan Naughton
Declan Naughton

This doesn't work, units is determined to have no inputs in introspection-api test (should have price_in): ```javascript import { revenue } from './base.cul'; export { revenue }; // demand-curve constraint:...
flag if a redundant input is coded, e.g. test_in here:  This is workable within calculang, less-so in application javascript (typings #41 can help there). Not sure if this actually...
eg modelB_A.cul.js a8bcf27
This bit me and led to stack error in memoisation code : w. no more indication
The pattern for loading data here is bad: https://github.com/declann/calculang-some-covid-modelling/blob/main/models/IRL-stats.cul.js Streamline this important pattern. 1 idea is to use something like the memo pattern & populate the cache directly. Then cache...
typings
Probably a good idea to produce typings for bundles, should consider this with a simple manual example first.
I need to create relative paths for implicit imports. Direct use of cul_scope_ids_to_resource is not up to scratch! Without fixing, modularity probably only works for flat directory structures!
simple eslint config pass on esm output closes #60 #49 and #31 Not immediate high priority because already getting full benefit (+flexibility) with a simple eslint config in model repos...
Legit JS so doesn't/won't cause an error in esm linting. Also debatable for now (JS should be in sep. files, but force this already? Maybe ok when implementation is user-configurable?)....