question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Turn `I`, `left`, `right` into keywords

See original GitHub issue

Reasons:

  • They are crucial to the type theory
  • Their types are simple enough. The ability to write down prim arcoe : blabla makes the theory easier to understand (if it’s a keyword, you may forget about its type signature, like which parameter is implicit, etc.), but for I, left, right they’re too simple
  • My upcoming core type theory refactoring can be simplified drastically using this
  • left and right are also used as patterns. By making them keywords we no longer need prim states in pattern checker.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
imkivacommented, Apr 11, 2022

So we can also simplify lots of code in #256

0reactions
ice1000commented, Apr 14, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Convert LEFT and RIGHT to keywords and disallow comma ...
LEFT and RIGHT technically should be keywords (just like INNER, OUTER, NATURAL, JOIN, etc.) Currently they are context-sensitive keywords ...
Read more >
Fixing right-to-left text in Microsoft Word - BioScience Writers
Find "Left-to-Right Text Direction" in the alphabetical list and click "Add>>". Find "Ltr Run" and click "Add>>". Click "OK" to close the window ......
Read more >
How to use LEFT and RIGHT keyword in SPARK SQL
You can use substring function with positive pos to take from the left: import org.apache.spark.sql.functions.substring substring(column, 0, 1).
Read more >
Excel LEFT, RIGHT, MID, LEN, FIND And SEARCH Functions
Learn how to use the LEFT, RIGHT, MID, LEN, FIND and SEARCH Functions in Excel now. Easy-to-follow illustrated 9-step example.
Read more >
SQL Keywords Reference - W3Schools
This SQL keywords reference contains the reserved words in SQL. ... Returns all rows when there is a match in either left table...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found