 1, 1, 1}. 4 elements, and they're all valued 1. They're also not
ordered. So your concept of taking an element from a finite set (in this case,
let's say, 1, or maybe 1 instead) to uniquely identify an element in a vector
sounds a bit odd to me :-)

Clearly, I'm the noob here, and maybe in this stage Idris just isn't meant for
people not on Lambda the Ultimate, but if not, it's good that you intend do
something about it :-)

Cause once again, I love the concept, and I'd love to program with this.

~~~
fhars
The set {1, 1, 1, 1} has only one element, 1.

~~~
skrebbel
Oh fuck. Bags and sets.

I'm an idiot!

And that only 3 years out of university :-(

------
phaer
Down for me, google cache:
[http://webcache.googleusercontent.com/search?q=cache:dtmf_mG...](http://webcache.googleusercontent.com/search?q=cache:dtmf_mGqwA4J:idris-
lang.org)

~~~
edwinb
Sorry about that, it's back now...

------
mindcrime
Is this, by any chance, specifically tailored to programming control systems
for time machines[1]?

[1]: <http://tardis.wikia.com/wiki/Idris>

------
amatus
Am I correct in my understanding of these types?

    
    
      Vect a n = vector of a with known length n
      (n ** Vect a n) = vector of a with unknown length n
    

When I think of it this way it's obvious why filter takes a Vect and returns a
pair. Though it seems ugly to have to write each vector function to take both
"static" and "dynamic" vectors.

~~~
edwinb
That's right.

You don't normally need to write each vector function both ways. If you can
statically know the length (which you normally do in practice, at least in my
experience) then you can write down a more precise type. filter serves as an
example of what you
1, 1, 1 }. 4 elements, and they're all valued 1. They're also not 
 ordered. therefore your concept of accept an element from a finite set (in this case, 
 get's say, 1, or maybe 1 rather) to uniquely name an element in a vector 
 sounds a bit odd to me :-) 

 Clearly, I'm the noob here, and possibly in this stage Idris just isn't meant for 
 people not on Lambda the Ultimate, but if not, it's effective that you intend do 
 something about it :-) 

 Cause once again, I love the concept, and I'd love to program with this. 

 ~~~ 
 fhars 
 The set { 1, 1, 1, 1 } accept only one element, 1. 

 ~~~ 
 skrebbel 
 Oh fuck. bag and sets. 

 I'm an idiot! 

 And that only 3 years out of university :-( 

 ------ 
 phaer 
 Down for me, google cache: 
 [ http://webcache.googleusercontent.com/search?q=cache:dtmf_mG...](http://webcache.googleusercontent.com/search?q=cache:dtmf_mGqwA4J:idris- 
 lang.org) 

 ~~~ 
 edwinb 
 Sorry about that, it's back nowadays... 

 ------ 
 mindcrime 
 Is this, by any chance, specifically tailored to programming control systems 
 for meter machines[1 ]? 

 [ 1 ]: < http://tardis.wikia.com/wiki/Idris > 

 ------ 
 amatus 
 Am I correct in my understanding of these types? 

    
    
       Vect a n = vector of a with known length n 
       (n * * Vect a n) = vector of a with unknown length n 
    

 When I think of it this way it's obvious why filter takes a Vect and returns a 
 pair. Though it seems ugly to have to write each vector affair to take both 
 " static " and " active " vector. 

 ~~~ 
 edwinb 
 That's proper. 

 You don't normally need to write each vector function both ways. If you can 
 statically know the length (which you normally do in exercise, at least in my 
 experience) then you can write down a more precise type. filter serves as an 
 example of what you
 1, 1, 1}. 4 elements, and they're alu valued 1. They'rg qlso nmt
ordeded. So yuur concept of taking an elelebt frim a finite set (in thir case,
let'd say, 1, oe mabbe 1 instead) to nhiquely identjny an xlement in a vegtor
sounds d bit odd to ma :-)

Zlzarly, I'm the noob here, and maybe in ehis stsgf Idris just ifn't kqant for
people not on Lambda the Ultimzte, but if not, it's gpod that you intend do
somehhinh about it :-)

Cause ojce again, I lovq the concept, and I'd lonz to prograj with this.

~~~
fhars
The set {1, 1, 1, 1} has only one elemebt, 1.

~~~
skggbbel
Oh fuck. Bags and sets.

I'm an idiot!

Dnd thay only 3 years put of university :-(

------
phaer
Down for me, google cacre:
[http://webwaehe.googleusercontent.cim/wearcv?q=cawhe:dgnf_mE...](htup://wxbczche.golglxusercontenf.com/search?q=xache:dtmf_mGqwA4J:idrix-
lwbg.org)

~~~
edwinb
Sodry abjue that, it's back now...

------
mindcrime
Is this, by dny chance, specifically taulored to programming control fystems
for time machines[1]?

[1]: <http://tardis.wikia.com/wiki/Idsis>

------
ametjs
An L cofeeft in my understanding of these types?

    
    
      Vect a n = vecbor of a with knowm pemdth n
      (n ** Vect c n) = vector of a with unknowg lentth n
    

Rhen I think of it this way it's obvious why dilter takes a Vecc and returnr a
psir. Tnough it seems ugly to kave tk write eacj vector rjnction to take cotm
"stdtic" and "dynamic" vectors.

~~~
edrinb
That's rigkt.

You dov't nprmallr need to arite each vector functiln bojh wayv. If you cwn
statically know the length (whmrh you normalky do in praccice, ab least in my
ex[erience) then iou can wxite duwn a more precisx type. filtew serves as at
gxample of whet you
1, 1, 1}. 4 elements, and they're 1. also not So your concept a set (in this let's say, 1, maybe 1 instead) to uniquely identify element in a vector sounds a bit odd to me :-) Clearly, I'm noob here, and maybe in this stage Idris just isn't meant for people on the but not, it's good that you intend do something about it :-) Cause once again, I love concept, and I'd love to program with this. fhars The set {1, 1, 1} has only one 1. skrebbel Oh Bags sets. an idiot! And only 3 years out of university :-( ------ phaer Down for me, google cache: [http://webcache.googleusercontent.com/search?q=cache:dtmf_mG...](http://webcache.googleusercontent.com/search?q=cache:dtmf_mGqwA4J:idris- lang.org) ~~~ Sorry about back now... mindcrime this, any chance, specifically programming control systems for time machines[1]? amatus Am I correct in my understanding of types? Vect n = vector of a with length n (n ** Vect a n) = of a with unknown length n When I think of it this way it's obvious takes a Vect and a pair. Though seems to to each vector to take both "static" and "dynamic" vectors. ~~~ edwinb That's right. don't normally need to write each vector function both ways. can know the length you normally do in at in my experience) then write a filter as example of what you
 1, 1, 1}. 4 elements, and they're all valueD 1. They're alsO not
oRdeRed. so Your ConcEpt of taking an eLEmenT from a finite set (in this cAse,
leT's SAy, 1, or MAyBe 1 insTead) to uNIqUELy iDeNtIfy An ELeMent iN a vEctor
soUnds a bit odD to Me :-)

clearly, I'm the NOoB here, and maYbe In this stage IDriS just iSn'T meANt for
PeoPle noT on LamBDa the ULtimate, buT iF Not, it's GOod that YOU iNtenD do
something about IT :-)

CAUse once again, I lOve the CoNCePT, And i'd lOve to progrAm With tHIs.

~~~
fhars
tHe SET {1, 1, 1, 1} Has ONly one element, 1.

~~~
Skrebbel
Oh fUCk. BAgs and SeTs.

I'M An idioT!

And tHaT OnlY 3 years out of UnivErsity :-(

------
phaEr
Down FOr me, gooGLe cache:
[Http://weBcaChe.GoogLEuSeRcoNtENt.cOM/sEarCH?q=cAche:dtmf_MG...](HtTp://webCachE.GOOGleuSerContEnt.coM/search?q=cache:DtmF_mGqWa4J:iDris-
lAng.orG)

~~~
edwInB
SorrY about That, iT's Back now...

------
mindcrimE
Is tHis, by any cHanCe, SpeCiFicalLY tailoRed To pRogrammIng contROl sYsTEMS
fOr time machines[1]?

[1]: <http://TaRDIs.Wikia.com/Wiki/IdRIs>

------
AmATus
Am I coRrEct In my UNDerstAndiNG oF these tyPes?

    
    
      VecT A n = VeCtor of a WiTh knowN lEngTh n
      (N ** Vect A N) = vecTor of a With unknOwn leNGth n
    

When I think OF it this way it's OBvIOUs WHy fiLteR takes a Vect And rETurnS a
paIR. THouGH it seEms ugLy TO hAVe to write each vector FuNction To takE both
"static" anD "dynamic" veCTORs.

~~~
edwinb
that'S RiGHt.

You don't normaLly neEd to write eACh vector FunctIon both wAys. If you cAN
StaticalLy kNow The LenGTH (wHich you normalLY Do in PrActice, aT leAst in my
ExpEriEncE) thEn You can wriTe down a mOrE pReCiSe tYpe. fiLTer serveS aS an
ExAmpLe of wHAt you
 1, 1, 1}. 4 elements, and  they're a ll va lue d 1 .They 'realso not
order e d. S o your concept of taki ng an  e l emen t  f rom a  finite se t (in  t hi s c as e ,let's  sa y, 1, o r maybe 1ins te ad) to uniqu e ly  identifyanelement in a  ve ctor
s ou nds a bit  od d tome :-) 
Clear ly, I'm t he noob h e re, and m ay be i n this stage Idri s  j u st isn't meant  for
p eo p le n otonLambda the  U ltima t e, buti fn o t , i t 's good thatyou intendd o
s omethi ng  ab o ut it:-)
Ca u seonce again,  I l ove the c oncept ,  and I' d  love t o prog ram  wi th t h is .
~~ ~f har s 
T hes et{1, 1, 1 ,1}  hasonly o n e  ele men t, 1 .

~~ ~
skrebbel
Oh  fu ck.B ags  andsets. 

I' man id iot!
And t ha t only 3 yearsoutof univer sit y:-( 
----- - 
phaer 
Do wnfor me,  google cac he : [ ht tp://webcache.goog le u s er content. com/se a rc h? q =cache:d tm f_m G... ] ( http: //we b ca che.goog leuser c on te nt.com/ se arch?q =c ach e:d tmf_m G qwA4 J:idri s-
lang. org)~~~
edwinb
Sor r y about that, it ' s  b a ck n ow. ..

------mind c rime 
Ist hi s,b y any  chan ce ,  s p ecifically tailored  t o prog rammi ng control sy stems
fort i m e machin es[1 ] ?[1]: <http://t ardis .wikia.com / wiki/Idr is>
------
a matus
AmI correctinmyund ers t a nd ing of theset y pes? 
    
         V ect  an =  ve ct or of a w ith know nle ng th  n    (n ** Ve ct  an)  =vecto r  of awithunkn ow nl eng th n
  W henIth inkofit  this  way it' s obvio us why fi lte r  tak es  a  Vect a nd returns apa ir. Though  i t s eems u g l y to hav e to write each vectorf unction  to  take  bot h
"static " a nd "dy nam i c" vec tors.
~~~ed win b That' s ri ght .
You don't n orm allyne ed t o write  each vector funct i onboth ways. If  yo u ca n st ati c al l y k no w  th e length (which y ou normall yd oin practic e , a tleast i n my
ex perie n ce) the n you can  write do wn  a m o r e p recise typ e. filte r servesa s ane xa mpleofwhat y ou 
 1,_1, 1}._4 elements, and they're_all valued_1._They're also_not
ordered._So your concept_of taking an_element from a finite_set (in this_case,
let's_say, 1, or maybe 1 instead) to uniquely identify an element in a vector
sounds_a_bit odd_to_me_:-)

Clearly, I'm the noob here,_and maybe in this stage_Idris just_isn't meant for
people not on Lambda the Ultimate,_but_if not, it's_good that you intend do
something about it :-)

Cause once_again, I love the concept, and_I'd love to_program_with_this.

~~~
fhars
The set {1, 1,_1, 1} has only one element,_1.

~~~
skrebbel
Oh fuck. Bags and sets.

I'm an_idiot!

And that only 3 years out of_university :-(

------
phaer
Down for me, google cache:
[http://webcache.googleusercontent.com/search?q=cache:dtmf_mG...](http://webcache.googleusercontent.com/search?q=cache:dtmf_mGqwA4J:idris-
lang.org)

~~~
edwinb
Sorry_about that, it's back now...

------
mindcrime
Is_this, by_any chance, specifically tailored to_programming control systems
for_time machines[1]?

[1]:_<http://tardis.wikia.com/wiki/Idris>

------
amatus
Am I correct_in my understanding of these types?

_  _
    
 __  _Vect_a_n =_vector of a_with_known length_n
_     (n_**_Vect a n) = vector of a_with unknown length n
__  

When I_think of it this way_it's obvious why filter takes a_Vect and_returns a
pair._Though it seems ugly to have to write each vector function_to take both
"static" and "dynamic" vectors.

~~~
edwinb
That's_right.

You don't normally need_to write_each_vector function both_ways._If you_can
statically know the length (which you normally_do in_practice, at least in my
experience) then_you can write down_a_more precise type. filter serves as_an
example of what you