Skip to content

Commit

Permalink
Update scalafmt setting
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Dec 30, 2023
1 parent 570cd9b commit 54df614
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version = "3.7.17"
runner.dialect = Scala213
runner.dialect = Scala213Source3
maxColumn = 150
align.preset = none
align.tokens = []
Expand Down
4 changes: 2 additions & 2 deletions src/test/scala/org/atnos/site/lib/ListEffectPage.scala
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ A simple example using this effect would be ${snippet {
// create all the possible pairs for a given list
// where the sum is greater than a value
def pairsBiggerThan[R: _list](list: List[Int], n: Int): Eff[R, (Int, Int)] = for {
a <- values(list: _*)
b <- values(list: _*)
a <- values(list*)
b <- values(list*)
found <-
if (a + b > n) singleton((a, b))
else empty
Expand Down

0 comments on commit 54df614

Please sign in to comment.