(Object x, Object coll)
| 698 | } |
| 699 | |
| 700 | static public ISeq cons(Object x, Object coll){ |
| 701 | //ISeq y = seq(coll); |
| 702 | if(coll == null) |
| 703 | return new PersistentList(x); |
| 704 | else if(coll instanceof ISeq) |
| 705 | return new Cons(x, (ISeq) coll); |
| 706 | else |
| 707 | return new Cons(x, seq(coll)); |
| 708 | } |
| 709 | |
| 710 | static public Object first(Object x){ |
| 711 | if(x instanceof ISeq) |
no test coverage detected