muse_builtin_algo.c File Reference

#include "muse_builtins.h"
#include <stdlib.h>

Include dependency graph for muse_builtin_algo.c:


Data Structures

struct  _sort_property_t

Typedefs

typedef _sort_property_t sort_property_t

Functions

static int pty_compare (const void *cell1, const void *cell2)
static muse_cell sort_by_property_inplace (muse_cell list, muse_cell propertyFn)
muse_cell fn_sort_inplace (muse_env *env, void *context, muse_cell args)
 (sort! list [propertyFn]).
muse_cell fn_sort (muse_env *env, void *context, muse_cell args)
 Just like fn_sort_inplace(), except that the original list is not modified.

Detailed Description

Author:
Srikumar K. S. (mailto:kumar@muvee.com)
Copyright (c) 2006 Jointly owned by Srikumar K. S. and muvee Technologies Pte. Ltd.

All rights reserved. See LICENSE.txt distributed with this source code or http://muvee-symbolic-expressions.googlecode.com/svn/trunk/LICENSE.txt for terms and conditions under which this software is provided to you.


Typedef Documentation

typedef struct _sort_property_t sort_property_t


Function Documentation

static int pty_compare ( const void *  cell1,
const void *  cell2 
) [static]

static muse_cell sort_by_property_inplace ( muse_cell  list,
muse_cell  propertyFn 
) [static]


Generated on Mon Sep 25 23:12:47 2006 for muSE by  doxygen 1.4.7