Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (load "Vector.carp")
- (use Vector2)
- (defmodule one
- (deftype Example
- [vtwo V2])
- (defn get-x
- [v]
- @(Vector2.get-x (Example.vtwo v))) ;;trying to force the correct module
- )
- Can't unify Double with &t1
- (Vector2.get-x (one.Example.vtwo v)) : Double
- At line 11, column 6 in '/home/jallen/dev/carp/temp/temp.carp'
- Expected first argument to 'copy' : &t1
- At line 11, column 5 in '/home/jallen/dev/carp/temp/temp.carp'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement