• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: list manipulation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: list manipulation


  • Subject: Re: list manipulation
  • From: Yvan KOENIG <email@hidden>
  • Date: Fri, 14 Apr 2017 18:46:20 +0200


Le 14 avr. 2017 à 17:30, Jean-Christophe Helary <email@hidden> a écrit :

I like lisp a lot and I was wondering why we did not have stuff like CAR and CDR in AS ?

I was just going to ask "Also, is AS able to call a handler on itself ?" when I checked the web, and... Booom !

https://www.safaribooksonline.com/library/view/applescript-the-definitive/0596102119/ch09s09.html

And I also found CAR: item 1 of list
and  CDR: rest of list

And the reference to SICP, nasty :)

Jean-Christophe



Maybe you would be interested by the features delivered by Shane STANLEY's Bridge Plus.

List manipulation methods

subarraysIn:paddedWith:error:

colsToRowsIn:error:

arrayByFlattening:

arrayByFullyFlattening:

subarraysFrom:groupedBy:error:

subarraysIn:withItems:insertedAtIndex:error:

arrayByInsertingItems:inArray:atIndex:error:

arrayByMovingItemAt:toIndex:inArray:error:

arrayByDeletingBlanksIn:

arrayByTrimmingTrailingBlanksFrom:

arrayByTrimmingBlanksFrom:

arrayByReplacingNullsIn:withItem:

arrayWithPattern:startNumber:endNumber:minDigits:

sumMaxMinOf:error:

subarraysIn:sortedByIndexes:ascending:sortTypes:error:

subarraysIn:sortedByIndexes:ascending:sortTypes:sortKeys:error:

arrayByMergingTextAtIndexes:inArray:inserting:error:

indexesOfItem:inArray:inverting:

indexesOfItems:inArray:inverting:

subarraysIn:asDictionariesUsingLabels:error:

subarraysFrom:usingKeys:outKeys:error:

arrayWithIndexSet:

arrayByAddingInteger:inArray:

sortedArrayFrom:stableSort:usingSelector:target:

indexSetWithArray:

splitArray:byKey:sortKeys:

sortedArrayFrom:byKeys:



Yvan KOENIG running Sierra 10.12.4 in French (VALLAURIS, France) vendredi 14 avril 2017 18:46:15

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: list manipulation
      • From: Jean-Christophe Helary <email@hidden>
References: 
 >list manipulation (From: Jean-Christophe Helary <email@hidden>)

  • Prev by Date: list manipulation
  • Next by Date: Re: list manipulation
  • Previous by thread: list manipulation
  • Next by thread: Re: list manipulation
  • Index(es):
    • Date
    • Thread