Advertisement
Guest User

Untitled

a guest
May 26th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (load "Vector.carp")
  2. (use Vector2)
  3.  
  4. (defmodule one
  5.  
  6.   (deftype Example
  7.       [vtwo V2])
  8.  
  9.   (defn get-x
  10.     [v]
  11.     @(get-x (Example.vtwo v))) ;;think im trying to do a recursive function call but the type of Example.vtwo should not be ambiguous
  12.  
  13.   )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement