Skip to content
This repository was archived by the owner on Dec 30, 2025. It is now read-only.
This repository was archived by the owner on Dec 30, 2025. It is now read-only.

Working solution for problem #33 is failing on the website #286

@omidmnz

Description

@omidmnz

The interleave function has a unary implementation on my machine using Clojure 1.8.0, which makes the following a valid solution to problem 33:
#(apply interleave (take %2 (repeat %1)))
But the above code fails on the third unit test on website:
(= (__ [4 5 6] 1) '(4 5 6))
raising the following exception:

clojure.lang.ArityException: Wrong number of args (1) passed to: core$interleave

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions