Skip to content

Commit

Permalink
small refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
kutyel committed Jul 18, 2024
1 parent aa2c3d1 commit 28967a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,3 @@ jobs:

- name: elm-review
run: npx elm-review --template jfmengels/elm-review-unused/example

- name: build
run: npm run build
5 changes: 2 additions & 3 deletions src/PersonalNumber/Swedish.elm
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,8 @@ verifyChecksum str =
|> List.reverse
|> List.take 10
|> List.reverse
|> List.map String.toInt
|> List.map (Maybe.withDefault -1)
|> List.indexedMap (\a b -> ( a, b ))
|> List.map (String.toInt >> Maybe.withDefault -1)
|> List.indexedMap Tuple.pair
|> List.map
(\( i, a ) ->
if modBy 2 i == 0 then
Expand Down

0 comments on commit 28967a4

Please sign in to comment.