This file is generated for E2E parsing.
Document ID: n2minft0z1e-mtf890fs
This document contains a variety of concise, self-contained code examples across multiple programming languages, demonstrating common patterns, data structures, I/O, and control flow to exercise parsing in a realistic yet compact way.
Each example includes a short description followed by a fenced code block.
Where helpful, examples may include brief variations in syntax or structure so the parser encounters a wider range of constructs across different ecosystems.
Simple R vector example computing squares of a sequence.
nums <- 1:5
squares <- nums^2
print(squares)A minimal Haskell example filtering odd numbers and squaring them.
main :: IO ()
main = print $ map (^2) $ filter odd [1..10]This content was added for the refresh test.