(ns untitled1.core
(:require [clojure.string :as str]))
(defn foo
[half full]
;Assume full = I am a taco
;Assume half = taco
(remove full half)
This is the message I receive: "Error printing return value (ClassCastException) at clojure.core/complement$fn (core.clj:1441). class clojure.lang.LazySeq cannot be cast to class clojure.lang.IFn (clojure.lang.LazySeq and clojure.lang.IFn are in unnamed module of loader 'app')"
I want (remove full half) to return -> I am a
I am new to Clojure, so I can well imagine that (remove) could be the wrong function. If anyone can lead me in the right direction, I would appreciate it.