Login
7 branches 0 tags
Benjamin Vincent Schulenburg Added [remove] for arrays/lists 19086c9 3 years ago 480 Commits
nujel / lib / type / val.h
#ifndef NUJEL_LIB_TYPE_VAL
#define NUJEL_LIB_TYPE_VAL
#include "../nujel.h"
#include "../collection/list.h"
#include "../type-system.h"

int       lValCompare(const lVal *a, const lVal *b);
lVal     *lValBool   (bool v);
lVal     *lValInt    (i64 v);
lVal     *lValFloat  (double v);
lVal     *lValVec    (const vec v);
lVal     *lValTree   (lTree *v);
lVal     *lValObject (lClosure *v);
lVal     *lValLambda (lClosure *v);
lVal     *lValComment();

#endif