Toggle navigation
Compiler Explorer
Haskell
C++
D
Rust
Go
ispc
Haskell
Editor
Diff View
More
Settings
Reset UI layout
Share
Other
Become a Patron
Source on GitHub
Wiki
Report an issue
Thanks to...
How it works
Contact the author
About the author
11010
./a.out
.LX0:
.text
//
Intel
Short
Short
Full
Embed
Embed (read only)
module Example where sumOverArray :: [Int] -> Int sumOverArray (x:xs) = x + sumOverArray xs sumOverArray [] = 0
×
Load and save editor text
Examples
Browser-local storage
File system
Load from examples:
Load from browser-local storage:
Save to browser-local storage
Load from a local file
Save to file
×
Something alert worthy
×
Well, do you or not?
×
Compiler Explorer Settings
These settings control how Compiler Explorer acts for you. They are not preserved as part of shared URLs, and are persisted locally using browser local storage.
Editor
Automatically insert matching brackets and parentheses
Compile automatically when source changes
Delay before compiling:
0.25s
3s
Highlight linked code lines on hover
Show asm description on hover
Show quick suggestions
Use custom context menu
Theme:
Tab width:
Compilation
Colourise lines to show how the source maps to the output
Colour scheme: