Merge pull request 'fix: Avoid files that differ just by case' (#12) from no_case_duplicates into main

Reviewed-on: #12
This commit is contained in:
Glen Whitney 2022-07-22 16:47:09 +00:00
commit ed71b15969
6 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
import {numComplex} from './Complex.mjs'
import {numComplex} from './types/Complex.mjs'
export const add = {
'...Complex': [['self'], ref => addends => {

View File

@ -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

View File

@ -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

View File

@ -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 */

View File

@ -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',