It seems to me that technically both are interchangeable but have different conventional meanings.
What is the difference between [ ] and ( ) brackets in Racket (lisp programming language)?
8.9k views Asked by Mahathi Vempati At
1
There are 1 answers
Related Questions in SYNTAX
- Curl URL syntax for uploading files
- How to Pass Parameter Value From DDL to Filtering Query
- What is the proper syntax for preloading a variable font?
- Creating a stored function on SQL of average scores, error code 1064
- I am having trouble using the date function along with the vim command in bash
- Can I print '1' n times without using a loop in C programming?
- Is Observable's "viewof" really an operator?
- Explaination for a beginner on how does the 'for loop' in python really works when given a condition as well?
- Syntax for string interpolation in Vue 3 template attribute with quotes
- How to troubleshoot MySQL Syntax ERROR 1064?
- Is there a way to console log/error and return from a function in one line using ES6 syntax?
- Word 2007 Field code dependent upon Text Form Field to calculate date gives current year when Text Form Field is empty
- There was an error while applying the SQL script to the database
- Wanting to make a new input/text box when I click a button
- Bash @ parameter - "special" array? What is it exactly?
Related Questions in RACKET
- Lambda function not returning any value
- How to programmatically expand the let* family of functions in racket
- How can I combine `raco pkg install --scope-dir` and `raco exe`?
- Scheme Question - How can I check if there are a list of pairs
- How to return in Scheme?
- Racket: Evaluate a hand in Blackjack
- why is this define not an expression?
- Issue writing to JSON file - invalid key
- How can I flatten a racket list recursively?
- Making a deck of cards in Racket
- Function typing in TypedRacket
- What are .rkt~ files and what purpose do they serve?
- Parallel HTTP Requests Deadlock when Run from Dr Racket
- Removing all duplicate integers and sublists from a list
- Racket: Using recursion to make a mergesort function
Related Questions in BRACKETS
- create bracket data using php
- Any placeholder rules or keybinding commands to select a pair of characters in vscode?
- ggplot 2 version 3.5.0 update guides; guide="prism_bracket" doesn't work. How to solve?
- Square brackets in the name attribute of input and select tag. Still used?
- Escaping brackets with VSWHERE and a for loop in batch file
- Why does it not show a horizontal line between brackets with color in VSCode bracket colorizer?
- moved an excel file between two computers and curly brackets was added to formulas
- Removing brackets from values and converting to positive values in excel
- How do I search for a sequence of non-brackets with grep?
- How to execute curl with json inside unix script by properly balancing brace/bracket
- Adding a square bracket below the x axis on ggplot
- Manim. How to create a matrix without brackets?
- How to write csv file without the brackets showing in the file itself
- How do I pass a compiler option that contains angle brackets into CMake's add_compiler_options()?
- JS Variable looses result Outside Function brackets
Related Questions in CONVENTION
- Where to put import statements in a jupyter notebook
- A getter method that doesn't necessarily get a member's value?
- The use of brackets in VIM help pages
- How can I define a file naming convention of incoming files in Spark
- Closing braces with Python
- What is the canonical name for a function that ensures that an asynchronous task takes at least x time to resolve?
- Automapper - Map fails after profile is added
- ViewModel method name convention
- Correct Way To Load An Alternate Version Of jQuery For IE8 And Below
- A lot of named arguments vs. **kwargs
- Project structure for class inheritance in Python
- Where to put single util methods that only serve a single purpose? (Java)
- Kotlin Data Class packaging
- How to name variable correctly to avoid warning like "Shadows name from outer scope" in Python
- Bad practise to catch IllegalStateException? Alternatives?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
According to the Racket documentation, there is no difference -- there is only a convention to use
[and]forcondclauses (and use your judgement for the rest, as far as I understand):Without having any knowledge about the design of the Racket language, my guess would be that square brackets were introduced as a response to complaints that many Lisp expressions are hard to read due to the large number of identical-looking parentheses, especially at the ends of deeply nested constructs. In other words, it's probably used to allow your eye to easily establish some points of reference in the code to identify what bracket you're closing at any given point.