Magellan Linux

Diff of /trunk/core/include/haskell.sminc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5543 by niro, Thu Jul 1 15:34:38 2010 UTC revision 5544 by niro, Thu Jul 1 15:35:26 2010 UTC
# Line 62  haskell_disable_feature() Line 62  haskell_disable_feature()
62  {  {
63   local feature="$1"   local feature="$1"
64   haskell_feature_is_supported "${feature}" || die "haskell feature '${feature}' not supported!"   haskell_feature_is_supported "${feature}" || die "haskell feature '${feature}' not supported!"
65   echo -e "${COLBLUE}--- ${COLRED}  disabled haskell feature '${feature}'${COLDEFAULT}"   echo -e "${COLBLUE}--- ${COLRED}disabled haskell feature '${feature}'${COLDEFAULT}"
66   export HASKELL_FEATURES="${HASKELL_FEATURES/${feature}/}"   export HASKELL_FEATURES="${HASKELL_FEATURES/${feature}/}"
67  }  }
68    
# Line 70  haskell_enable_feature() Line 70  haskell_enable_feature()
70  {  {
71   local feature="$1"   local feature="$1"
72   haskell_feature_is_supported "${feature}" || die "haskell feature '${feature}' not supported!"   haskell_feature_is_supported "${feature}" || die "haskell feature '${feature}' not supported!"
73   echo -e "${COLBLUE}--- ${COLGREEN}  enabled haskell feature '${feature}'${COLDEFAULT}"   echo -e "${COLBLUE}+++ ${COLGREEN}enabled haskell feature '${feature}'${COLDEFAULT}"
74   export HASKELL_FEATURES+=" ${feature}"   export HASKELL_FEATURES+=" ${feature}"
75  }  }
76    

Legend:
Removed from v.5543  
changed lines
  Added in v.5544