Skip to content

Avoid partial functions Data.List.init and Data.List.last #25

Avoid partial functions Data.List.init and Data.List.last

Avoid partial functions Data.List.init and Data.List.last #25

Triggered via pull request June 14, 2025 10:41
Status Success
Total duration 4m 41s
Artifacts

validate.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

42 warnings
ubuntu-latest - 9.2.3: test/BDD.hs#L40
Noncanonical ‘return’ definition detected
ubuntu-latest - 9.2.3: test/BDD.hs#L36
Noncanonical ‘pure = return’ definition detected
ubuntu-latest - 9.2.3: test/BDD.hs#L15
The import of ‘GHC.Stack’ is redundant
ubuntu-latest - 9.4.5: test/BDD.hs#L40
Noncanonical ‘return’ definition detected
ubuntu-latest - 9.4.5: test/BDD.hs#L36
Noncanonical ‘pure = return’ definition detected
ubuntu-latest - 9.4.5: test/BDD.hs#L15
The import of ‘GHC.Stack’ is redundant
ubuntu-latest - 9.6.6: test/BDD.hs#L40
Noncanonical ‘return’ definition detected
ubuntu-latest - 9.6.6: test/BDD.hs#L36
Noncanonical ‘pure = return’ definition detected
ubuntu-latest - 9.6.6: test/BDD.hs#L15
The import of ‘GHC.Stack’ is redundant
ubuntu-latest - 9.8.4: test/BDD.hs#L40
Noncanonical ‘return’ definition detected
ubuntu-latest - 9.8.4: test/BDD.hs#L36
Noncanonical ‘pure = return’ definition detected
ubuntu-latest - 9.8.4: test/BDD.hs#L15
The import of ‘GHC.Stack’ is redundant
windows-latest - 9.8.4: test/BDD.hs#L40
Noncanonical ‘return’ definition detected
windows-latest - 9.8.4: test/BDD.hs#L36
Noncanonical ‘pure = return’ definition detected
windows-latest - 9.8.4: test/BDD.hs#L15
The import of ‘GHC.Stack’ is redundant
macOS-latest - 9.4.5: test/BDD.hs#L40
Noncanonical ‘return’ definition detected
macOS-latest - 9.4.5: test/BDD.hs#L36
Noncanonical ‘pure = return’ definition detected
macOS-latest - 9.4.5: test/BDD.hs#L15
The import of ‘GHC.Stack’ is redundant
ubuntu-latest - 9.10.1: test/BDD.hs#L40
Noncanonical ‘return’ definition detected
ubuntu-latest - 9.10.1: test/BDD.hs#L36
Noncanonical ‘pure = return’ definition detected
ubuntu-latest - 9.10.1: test/BDD.hs#L15
The import of ‘GHC.Stack’ is redundant
macOS-latest - 9.8.4: test/BDD.hs#L40
Noncanonical ‘return’ definition detected
macOS-latest - 9.8.4: test/BDD.hs#L36
Noncanonical ‘pure = return’ definition detected
macOS-latest - 9.8.4: test/BDD.hs#L15
The import of ‘GHC.Stack’ is redundant
macOS-latest - 9.6.6: test/BDD.hs#L40
Noncanonical ‘return’ definition detected
macOS-latest - 9.6.6: test/BDD.hs#L36
Noncanonical ‘pure = return’ definition detected
macOS-latest - 9.6.6: test/BDD.hs#L15
The import of ‘GHC.Stack’ is redundant
windows-latest - 9.4.5: test/BDD.hs#L40
Noncanonical ‘return’ definition detected
windows-latest - 9.4.5: test/BDD.hs#L36
Noncanonical ‘pure = return’ definition detected
windows-latest - 9.4.5: test/BDD.hs#L15
The import of ‘GHC.Stack’ is redundant
macOS-latest - 9.10.1: test/BDD.hs#L40
Noncanonical ‘return’ definition detected
macOS-latest - 9.10.1: test/BDD.hs#L36
Noncanonical ‘pure = return’ definition detected
macOS-latest - 9.10.1: test/BDD.hs#L15
The import of ‘GHC.Stack’ is redundant
windows-latest - 9.2.3: test/BDD.hs#L40
Noncanonical ‘return’ definition detected
windows-latest - 9.2.3: test/BDD.hs#L36
Noncanonical ‘pure = return’ definition detected
windows-latest - 9.2.3: test/BDD.hs#L15
The import of ‘GHC.Stack’ is redundant
windows-latest - 9.6.6: test/BDD.hs#L40
Noncanonical ‘return’ definition detected
windows-latest - 9.6.6: test/BDD.hs#L36
Noncanonical ‘pure = return’ definition detected
windows-latest - 9.6.6: test/BDD.hs#L15
The import of ‘GHC.Stack’ is redundant
windows-latest - 9.10.1: test/BDD.hs#L40
Noncanonical ‘return’ definition detected
windows-latest - 9.10.1: test/BDD.hs#L36
Noncanonical ‘pure = return’ definition detected
windows-latest - 9.10.1: test/BDD.hs#L15
The import of ‘GHC.Stack’ is redundant