You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .grit/patterns/universal/use_blocks.md
+1-26
Original file line number
Diff line number
Diff line change
@@ -3,32 +3,7 @@
3
3
The `group_blocks` function takes a `target` list and returns a list of lists, where each sublist is a block of items that are adjacent to each other in the original program.
4
4
5
5
```grit
6
-
// Implementation
7
-
function group_blocks($target) {
8
-
$blocks = [],
9
-
$target <: some bubble($blocks, $block, $block_tail) $current where {
0 commit comments