Skip to content

Add bb tasks and update deps #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Add bb tasks and update deps #1

wants to merge 5 commits into from

Conversation

norton
Copy link
Owner

@norton norton commented Jun 11, 2023

Add bb tasks and update deps

@norton norton self-assigned this Jun 11, 2023
@norton norton force-pushed the feature/update-deps branch 4 times, most recently from 1c84022 to a402960 Compare June 12, 2023 14:24
@norton norton force-pushed the feature/update-deps branch from a402960 to 1fdb0f6 Compare June 12, 2023 16:16
Copy link

@eliascotto eliascotto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing contribution! Thanks for your effort.
I left a comment to change the Type used in a test since it's currently preventing that step to progress.

@@ -1,7 +1,7 @@
(ns app.tutorial
(:require
[clojure.string :as string]
[sci.impl.vars :refer [SciVar]]))
[sci.impl.vars :refer [IVar]]))
Copy link

@eliascotto eliascotto Nov 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the new version of sci SciVar has been removed, IVar is something else.
I found that here we can require instead [sci.lang :refer [Var]] and use it for testing afterwards.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eliascotto Thank you for the correction - updated.

Create a global variable called `foo` with a value. E.g. `(def foo \"bar\")`"
:test #(and (instance? SciVar %) (= "foo" (-> (.-meta %) :name str)))}
:test #(and (instance? IVar %) (= "foo" (-> (.-meta %) :name str)))}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here the test should now check for Var instead (instance? Var %).

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eliascotto Thank you for the correction - updated.

@norton norton force-pushed the feature/update-deps branch from 93d22e5 to 6f2c309 Compare November 14, 2023 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants