fix: Avoid files that differ just by case
This commit is contained in:
parent
89f4977e78
commit
664f30ddef
@ -1,4 +1,4 @@
|
||||
import {numComplex} from './Complex.mjs'
|
||||
import {numComplex} from './types/Complex.mjs'
|
||||
|
||||
export const add = {
|
||||
'...Complex': [['self'], ref => addends => {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import './Complex.mjs'
|
||||
import './types/Complex.mjs'
|
||||
|
||||
export const complex = {
|
||||
/* Very permissive for sake of proof-of-concept; would be better to
|
||||
|
@ -1,4 +1,4 @@
|
||||
import './Complex.mjs'
|
||||
import './types/Complex.mjs'
|
||||
import * as complex from './complex.mjs'
|
||||
|
||||
/* Add all the complex implementations for functions already
|
||||
|
@ -1,4 +1,4 @@
|
||||
import {numComplex} from './Complex.mjs'
|
||||
import {numComplex} from './types/Complex.mjs'
|
||||
export const negate = {
|
||||
Complex: [['self'], ref => z => {
|
||||
/* need a "base case" to avoid infinite self-reference */
|
||||
|
@ -5,7 +5,7 @@
|
||||
inclusion, avoiding factory functions.',
|
||||
main: 'index.js',
|
||||
scripts: {
|
||||
test: 'npx mocha',
|
||||
test: '!(find . | sort -f | uniq -i -c | grep -v " 1 ") && npx mocha',
|
||||
},
|
||||
repository: {
|
||||
type: 'git',
|
||||
|
Loading…
Reference in New Issue
Block a user