Comments (6)
One idea is to add dependencies to all slices where a class or method is mentioned.
from fragnix.
Ok, so if we do the above we again get giant ugly balls of code because instances use declarations and declarations if they mention methods depend on all instances.
Looks really bad, seems like we need to resolve type class instances.
from fragnix.
We pair each instance either with the class or with the datatype if the class it builtin.
from fragnix.
This probably would solve #72 #63 #48
from fragnix.
Another approach is to use {-# SOURCE #-}
imports to break the cycles.
from fragnix.
Done with fb94f99 and a series of fixes after that.
from fragnix.
Related Issues (20)
- Deal with orphan instances in base HOT 2
- Define and implement updates HOT 3
- Command line interface HOT 4
- Compile by pasting slices into one big module
- Accept (possibly modified) slices as input HOT 1
- Re-slice local slices
- Switch from `haskell-src-exts` to `ghc-lib-parser`
- ReHashed Slices cause compilation errors
- Create subfolders in `slices` directory HOT 1
- Rearrange folder layout to make environment user-visible HOT 2
- LocalSliceModule is dead code HOT 1
- Design subcommands for specific workflows HOT 3
- Make preprocessor flags user-definable
- Recompilation avoidance
- Warn on missing imports
- Work on multiple folders and files given on command line
- Failed to run example on macOS
- Discussion
- Move to github actions instead of travis
- Factor out the core datatypes from the algorithms.
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 fragnix.