Comments (1)
The current behaviour is quite similar to what is reported in this issue:
> []
check : interactive
(1, 0): error: no 'show' function defined for values of type: list<12>
> [1]
check : interactive
check : interactive
linking: interactive
created: out/v2.1.7/gcc-debug/interactive
[1]
> [[1]]
check : interactive
(1, 0): error: no 'show' function defined for values of type: list<list<int>>
As you mentioned, this is related to a lack of typeclass mechanism. There are plans for overloading based on 'A second look at Overloading', which will resolve this issue.
I will be closing this issue, since it is not really related to the REPL and will be fixed by an overloading system which we already track at, e.g. #138
from koka.
Related Issues (20)
- Spec grammar is out of sync HOT 2
- Open Effect Error
- async effect HOT 1
- Program crash when parsing file HOT 3
- Unclear error message "error: identifier .Hnd-div cannot be found"
- option to use system malloc HOT 1
- Effectful vector initialization HOT 2
- Better Hover Colors
- Phantom compile errors in interactive compiler HOT 4
- REPL crashes when using :t command
- Polymorphic Effect Inference Inconsistency for Function Values Across Multiple Call Sites HOT 1
- Unintuitive Effect Inference Behavior with println in Functions Using Polymorphic Effects HOT 4
- Bitwise Operators HOT 1
- Use of `padding` identifier causes compilation errors under some circumstances HOT 6
- install.sh doesn't evaluate paths HOT 2
- VS Code Extension Errors On Activation HOT 3
- vector-init does not work correctly for control effects HOT 3
- Bytes module
- Better parser recovery for incomplete function bodies / statements.
- Add language server tests
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 koka.