Skip to content
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

Fix typos #850

Merged
merged 1 commit into from
Nov 11, 2022
Merged

Fix typos #850

merged 1 commit into from
Nov 11, 2022

Conversation

bwignall
Copy link
Collaborator

All changes should be non-semantic (e.g., only in code comments).

I am brand new to Swarm, apologies if I misinterpreted something (thinking particularly of "entites") as a typo that is not; happy to revert those if so.

Code itself is not changed, so ignoredEntites remains, though I expect it should be ignoredEntities (with an "i" added).

Copy link
Member

@byorgey byorgey left a comment

Choose a reason for hiding this comment

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

Thanks @bwignall , looks great!

@@ -536,7 +536,7 @@ startingDevices = Set.fromList . map snd . E.elems . view installedDevices . ins
startingInventory :: Scenario -> Map Entity Int
startingInventory = Map.fromList . map swap . E.elems . view robotInventory . instantiateRobot 0 . head . view scenarioRobots

-- | Ignore utility entites that are just used for tutorials and challenges.
-- | Ignore utility entities that are just used for tutorials and challenges.
ignoredEntites :: Set Text
Copy link
Member

Choose a reason for hiding this comment

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

Yeah, ignoredEntites is definitely supposed to be ignoredEntities. We would welcome a PR fixing that too!

@byorgey byorgey added the merge me Trigger the merge process of the Pull request. label Nov 11, 2022
@mergify mergify bot merged commit 10af601 into swarm-game:main Nov 11, 2022
@byorgey
Copy link
Member

byorgey commented Nov 11, 2022

@bwignall, congrats on having your first PR accepted to Swarm! We appreciate the contribution and we're really glad to welcome you as part of the community. In a minute we will send you an invite to the repo (see https://github.com/swarm-game/swarm/blob/main/CONTRIBUTING.md#i-have-push-access-to-the-swarm-repository-now-what ). If you use IRC, feel free to also join the #swarm channel on Libera.Chat.

I would also particularly point you to #829 , if that's something you might be interested to participate in!

mergify bot pushed a commit that referenced this pull request Nov 12, 2022
This was suggested in #850 as a typo. `git grep ignoredEntites` now comes back empty and `stack build` compiles cleanly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge me Trigger the merge process of the Pull request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants